diff --git a/index.js b/index.js index 06db017..e413d8a 100644 --- a/index.js +++ b/index.js @@ -42,6 +42,7 @@ commandExists('ffmpeg') wss.on('connection', (ws, request) => { const clientIp = request.connection.remoteAddress; currentUsers++; + dataHandler.showOnlineUsers(currentUsers); // Use ipinfo.io API to get geolocation information https.get(`https://ipinfo.io/${clientIp}/json`, (response) => {