From 4e0af245835766dc1c6d5460402626f176d05bea Mon Sep 17 00:00:00 2001 From: cha0s Date: Mon, 30 Sep 2019 23:39:45 -0500 Subject: [PATCH] refactor: explicit ws port --- client/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app.js b/client/app.js index 0512727..1217f09 100644 --- a/client/app.js +++ b/client/app.js @@ -420,7 +420,7 @@ export class App extends decorate(class {}) { 's': 'MoveDown', 'd': 'MoveRight', }, - connectionUrl: window.location.href, + connectionUrl: window.location.protocol + '//' + window.location.hostname + ':8420/', doPhysicsSimulation: true, inputFrequency: 1 / 60, pointerMovementFrequency: 1 / 15,