animeic-cloud il y a 1 mois
Parent
commit
925093893b
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      sku3d/sku3d/test/index.html

+ 2 - 1
sku3d/sku3d/test/index.html

@@ -170,7 +170,8 @@
             }
 
             try {
-                const response = await fetch(`${baseUrl}/image/fassi/list?url=${imageUrl}`, {
+                const encodedUrl = encodeURIComponent(imageUrl);
+                const response = await fetch(`${baseUrl}/image/fassi/list?url=${encodedUrl}`, {
                     method: 'GET',
                     headers: {
                         'Authorization': token,