From 6450f2d8f1b87beb7224567a9408db810dda7bf8 Mon Sep 17 00:00:00 2001 From: keshav2010 Date: Wed, 24 Apr 2024 01:29:34 +0530 Subject: [PATCH] fix wss issue --- public/NetworkManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/NetworkManager.ts b/public/NetworkManager.ts index 500efd3..7f43344 100644 --- a/public/NetworkManager.ts +++ b/public/NetworkManager.ts @@ -18,7 +18,7 @@ export class NetworkManager { phaserGame: Phaser.Game, phaserRegistry: Phaser.Data.DataManager ) { - this.client = new Colyseus.Client(`ws://${URL}`); + this.client = new Colyseus.Client(`wss://${URL}`); this.room = null; this.game = phaserGame;