sdf
This commit is contained in:
parent
a3a0e88540
commit
1d62ac3883
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class Game extends GameBasic {
|
|||
|
||||
let that = this;
|
||||
|
||||
this.ws = new WebSocket(window.location.href);
|
||||
this.ws = new WebSocket(origin);
|
||||
|
||||
this.ws.addEventListener('message', function (e) { that.recv(e) });
|
||||
|
||||
|
|
Loading…
Reference in a new issue