change some stuff

This commit is contained in:
2026-03-22 19:11:11 +01:00
parent 72bbd9fcbd
commit 2c3d2a4137
13 changed files with 89 additions and 89 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ function heartbeat() { // WebSocket heartbeat helper
}
function createChatServer(storage) {
if (!serverConfig.webserver.chatEnabled) return null;
if (!serverConfig.webserver.chatEnabled) return;
const chatWss = new WebSocket.Server({ noServer: true });
@@ -118,7 +118,7 @@ function createChatServer(storage) {
clearInterval(interval);
});
return chatWss;
storage.websocket_delegation.set("/chat", chatWss);
}
module.exports = { createChatServer };