forked from ppfun/pixelplanet
redirect poland to minimap too
This commit is contained in:
parent
b5324a6728
commit
4ab332a447
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user