fix: server.listen port

This commit is contained in:
Himself65 2022-08-18 15:16:13 -05:00 committed by GitHub
parent 625a9d52ba
commit 8fa06a4e9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}`)
}) })