cleanup, welcome with proper server time

This commit is contained in:
STEINNI
2026-06-26 21:51:43 +00:00
parent a868caf8c9
commit b551f473b4
3 changed files with 17 additions and 9 deletions
+6 -5
View File
@@ -203,12 +203,13 @@ cfgh.fetchConfig().then( async wssGatewayConfig => {
// ws.send(`You visited ${ws.session.views} times`)
// })
HTTPserver.listen(wssGatewayConfig.server.listenPort, () => {
console.log(`WS${wssGatewayConfig.server.unsecure ? '': 'S'} server created for ${wssGatewayConfig.server.listenHost}:${wssGatewayConfig.server.listenPort}`)
})
startAllRedis(wssGatewayConfig).then((allRediscnx) => {
startAllRedis(wssGatewayConfig)
.then((allRediscnx) => {
console.log('All edis OK')
const wssSrv = new wssServer(cfgh, WSSServer, allRediscnx, debug);
HTTPserver.listen(wssGatewayConfig.server.listenPort, () => {
console.log(`WS${wssGatewayConfig.server.unsecure ? '': 'S'} server created for ${wssGatewayConfig.server.listenHost}:${wssGatewayConfig.server.listenPort}`)
})
});