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', 's': 'MoveDown',
'd': 'MoveRight', 'd': 'MoveRight',
}, },
connectionUrl: window.location.href, connectionUrl: window.location.protocol + '//' + window.location.hostname + ':8420/',
doPhysicsSimulation: true, doPhysicsSimulation: true,
inputFrequency: 1 / 60, inputFrequency: 1 / 60,
pointerMovementFrequency: 1 / 15, pointerMovementFrequency: 1 / 15,