|
@@ -79,8 +79,8 @@ serve(async (req) => {
|
|
|
|
|
|
|
|
const apiPath = pathMatch[1]
|
|
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}`)
|
|
console.log(`[ShopRenter Proxy] Forwarding ${req.method} request to: ${shopRenterUrl}`)
|
|
|
|
|
|