Use WSS over WS
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user