fix: server.listen port
This commit is contained in:
parent
625a9d52ba
commit
8fa06a4e9f
@ -30,6 +30,6 @@ server.on('upgrade', (request, socket, head) => {
|
|||||||
wss.handleUpgrade(request, socket, head, handleAuth)
|
wss.handleUpgrade(request, socket, head, handleAuth)
|
||||||
})
|
})
|
||||||
|
|
||||||
server.listen(port, () => {
|
server.listen(port, host, () => {
|
||||||
console.log(`running at '${host}' on port ${port}`)
|
console.log(`running at '${host}' on port ${port}`)
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user