cleanup, welcome with proper server time
This commit is contained in:
+6
-5
@@ -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}`)
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user