connection upgrade with nginx
This commit is contained in:
@@ -25,8 +25,7 @@ class ClientInfoSpectator {
|
||||
playerRightNextPos: VectorInteger;
|
||||
}
|
||||
|
||||
const wsPort = 8042;
|
||||
const wsUrl = "ws://transcendance:" + wsPort + "/pong";
|
||||
const wsUrl = "ws://transcendance:8080/pong";
|
||||
export let socket: WebSocket; /* TODO: A way to still use "const" not "let" ? */
|
||||
export const clientInfo = new ClientInfo();
|
||||
export const clientInfoSpectator = new ClientInfoSpectator(); // WIP, could refactor this
|
||||
|
||||
Reference in New Issue
Block a user