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