also log it

This commit is contained in:
2026-07-03 08:48:00 +02:00
parent 848877d452
commit baf277210d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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");
});
+1 -1
View File
@@ -13,7 +13,7 @@
</head>
<body>
<div id="toast-container"></div>
<div id="wrapper" class="setup-wrapper admin-wrapper">
<div id="wrapper" class="setup-wrapper admin-wrapper panel-full">
<div class="m-0 no-bg">
<h2>Dashboard</h2>