This commit is contained in:
biglyderv 2024-11-25 14:14:20 -05:00
parent 46aa18b4e1
commit 2dd141068f

View file

@ -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) });