refactor: explicit ws port

This commit is contained in:
cha0s 2019-09-30 23:39:45 -05:00
parent 945ee700cb
commit 4e0af24583

View File

@ -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,