Use global ZeroNet-Internal url to access Websocket
This commit is contained in:
parent
879b522914
commit
8429ad7db7
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ if origin.indexOf("https:") == 0
|
||||||
else
|
else
|
||||||
proto = { ws: 'ws', http: 'http' }
|
proto = { ws: 'ws', http: 'http' }
|
||||||
|
|
||||||
ws_url = proto.ws + ":" + origin.replace(proto.http+":", "") + "/Websocket?wrapper_key=" + window.wrapper_key
|
ws_url = proto.ws + ":" + origin.replace(proto.http+":", "") + "/ZeroNet-Internal/Websocket?wrapper_key=" + window.wrapper_key
|
||||||
|
|
||||||
window.wrapper = new Wrapper(ws_url)
|
window.wrapper = new Wrapper(ws_url)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue