Merge pull request #75 from rwth-acis/master

Fix for running websocket using dockerfile
This commit is contained in:
Kevin Jahns
2021-11-20 15:28:23 +01:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

View File

@@ -29,6 +29,6 @@ server.on('upgrade', (request, socket, head) => {
wss.handleUpgrade(request, socket, head, handleAuth)
})
server.listen({ host, port })
console.log(`running at '${host}' on port ${port}`)
server.listen(port, () => {
console.log(`running at '${host}' on port ${port}`)
})