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,