animeic-cloud 1 lună în urmă
părinte
comite
925093893b
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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,