Просмотр исходного кода

fix: correct ShopRenter API domain to api2.myshoprenter.hu #55

Claude 5 месяцев назад
Родитель
Сommit
3d5efd893a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      supabase/functions/shoprenter-proxy/index.ts

+ 2 - 2
supabase/functions/shoprenter-proxy/index.ts

@@ -79,8 +79,8 @@ serve(async (req) => {
 
     const apiPath = pathMatch[1]
 
-    // Construct ShopRenter API URL - always use standard .shoprenter.hu domain
-    const shopRenterUrl = `https://${shopName}.shoprenter.hu${apiPath}${url.search}`
+    // Construct ShopRenter API URL - use api2.myshoprenter.hu domain
+    const shopRenterUrl = `https://${shopName}.api2.myshoprenter.hu${apiPath}${url.search}`
 
     console.log(`[ShopRenter Proxy] Forwarding ${req.method} request to: ${shopRenterUrl}`)