1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-27 06:23:53 +01:00

country fix

This commit is contained in:
NoobishSVK
2024-01-28 22:29:14 +01:00
parent 61f7a4d01e
commit fdd30ee5f3

View File

@@ -55,7 +55,6 @@ wss.on('connection', (ws, request) => {
response.on('end', () => {
try {
const locationInfo = JSON.parse(data);
console.log(locationInfo.country);
if(locationInfo.country === undefined) {
logInfo(`Web client \x1b[32mconnected\x1b[0m (${clientIp}) \x1b[90m[${currentUsers}]\x1b[0m`);
} else {