From ca4d78d711fe3069071253a517afda2672d099ce Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Sat, 24 Jan 2026 11:35:45 -0700 Subject: [PATCH] Use WSS over WS --- Assets/Scripts/Other/Endpoints.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Assets/Scripts/Other/Endpoints.cs b/Assets/Scripts/Other/Endpoints.cs index 40e6256..496f2dc 100644 --- a/Assets/Scripts/Other/Endpoints.cs +++ b/Assets/Scripts/Other/Endpoints.cs @@ -1,10 +1,9 @@ public class Endpoints { private static readonly string HOST = "games.lncvrt.xyz"; - private static readonly int WS_PORT = 3342; public static readonly string BASE_URL = $"https://{HOST}/api"; public static readonly string BERRYDASH_ENDPOINT = BASE_URL + "/berrydash"; - public static readonly string WS_ENDPOINT = $"ws://{HOST}:{WS_PORT}/api/ws"; + public static readonly string WS_ENDPOINT = $"wss://{HOST}/api/ws"; public static readonly string CAN_LOAD_CLIENT_ENDPOINT = BASE_URL + "/can-load-client"; public static readonly string LATEST_VERSION_ENDPOINT = BERRYDASH_ENDPOINT + "/latest-version"; public static readonly string LEADERBOARDS_ENDPOINT = BERRYDASH_ENDPOINT + "/leaderboards";