From 04a1ad53838d4d3a023da2598eceb4ba7099954f Mon Sep 17 00:00:00 2001 From: "iconstantin@bitdefender.com" Date: Wed, 5 Feb 2025 14:53:27 +0200 Subject: [PATCH] fixed locale call in landing pages --- _src-lp/scripts/vendor/product.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_src-lp/scripts/vendor/product.js b/_src-lp/scripts/vendor/product.js index 7102f129..b0bca08f 100644 --- a/_src-lp/scripts/vendor/product.js +++ b/_src-lp/scripts/vendor/product.js @@ -332,7 +332,7 @@ export class Locale { } // Fetch locale based on the country - const localeResponse = await fetch(`${API_BASE}${API_ROOT}/${country}/locales`); + const localeResponse = await fetch(`${API_BASE}${API_ROOT}/countries/${country}/locales`); if (!localeResponse.ok) { console.error(`Failed to fetch locales: ${localeResponse.statusText}`); return locale; // Return default locale in case of error