Remove logs

This commit is contained in:
Andrew Kingston 2022-09-02 12:04:18 +01:00
parent 8cd235dba1
commit 5a8713869c
1 changed files with 0 additions and 1 deletions

View File

@ -15,7 +15,6 @@ export const initWebsocket = () => {
const proto = tls ? "wss:" : "ws:" const proto = tls ? "wss:" : "ws:"
const host = location.hostname const host = location.hostname
const port = location.port || (tls ? 443 : 80) const port = location.port || (tls ? 443 : 80)
console.log(`${proto}//${host}:${port}`)
const socket = io(`${proto}//${host}:${port}`, { const socket = io(`${proto}//${host}:${port}`, {
path: "/socket/client", path: "/socket/client",
}) })