From baf277210d692a941fd9f3a2444804603fd95659 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Fri, 3 Jul 2026 08:48:00 +0200 Subject: [PATCH] also log it --- server/helpers.js | 2 +- views/setup.ejs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/helpers.js b/server/helpers.js index 8a34ee3..8d6cd20 100644 --- a/server/helpers.js +++ b/server/helpers.js @@ -241,7 +241,7 @@ function processConnection(clientIp, locationInfo, currentUsers, ws, request, ca time: connectionTime, instance: ws, agent: request.headers["user-agent"], }); - consoleCmd.logInfo(`Web client \x1b[32mconnected\x1b[0m (${clientIp}) \x1b[90m[${currentUsers}]\x1b[0m Location: ${userLocationForLog}`); + consoleCmd.logInfo(`Web client \x1b[32mconnected\x1b[0m (${clientIp}) \x1b[90m[${currentUsers}]\x1b[0m Location: ${userLocationForLog} | User Agent: ${request.headers["user-agent"]}`); callback("User allowed"); }); diff --git a/views/setup.ejs b/views/setup.ejs index 1db45cf..651cf8c 100644 --- a/views/setup.ejs +++ b/views/setup.ejs @@ -13,7 +13,7 @@
-
+

Dashboard