redirect poland to minimap too

This commit is contained in:
HF 2024-02-24 18:02:55 +01:00
parent b5324a6728
commit 4ab332a447

View File

@ -34,7 +34,9 @@ function generateMainPage(req) {
lang, lang,
}; };
// HARDCODE canasId 11 as default for turkey // HARDCODE canasId 11 as default for turkey
if (req.headers['cf-ipcountry'] === 'TR') { if (req.headers['cf-ipcountry'] === 'TR'
|| req.headers['cf-ipcountry'] === 'PL'
) {
ssv.dc = '11'; ssv.dc = '11';
} }
const ssvR = JSON.stringify(ssv); const ssvR = JSON.stringify(ssv);