fixing for server https

This commit is contained in:
Killian Marty 2023-12-08 14:21:43 +01:00
parent f1592aa542
commit dd0edfe290

View file

@ -19,7 +19,7 @@ cars = [new Car(Renderer, 0, 0, sound),
new Car(Renderer, 1, 13, sound),
new Car(Renderer, 1, 14, sound),
new Car(Renderer, 0, 15, sound)]
let Net = new Network("ws://129.151.227.50:8080?name="+CookiePseudo(), sound);
let Net = new Network("wss://ws.gta6.insat.fr:8080?name="+CookiePseudo(), sound);
let playerId = null; //id of client player