why am i so f***ing stupid
This commit is contained in:
parent
4580ac3556
commit
e9207055d5
@ -90,7 +90,7 @@ function handleWebSocket () {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!live) return
|
if (!live || ws) return
|
||||||
|
|
||||||
ws = new WebSocket(`ws${location.protocol.indexOf('s') !== -1 ? 's' : ''}://${location.host}`)
|
ws = new WebSocket(`ws${location.protocol.indexOf('s') !== -1 ? 's' : ''}://${location.host}`)
|
||||||
ws.onerror = function(e) {
|
ws.onerror = function(e) {
|
||||||
|
Reference in New Issue
Block a user