animeic-cloud 1 month ago
parent
commit
925093893b
1 changed files with 2 additions and 1 deletions
  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,