From c77a273c9138c9d1e4439c4966882fe4d75fdf74 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Sat, 29 Mar 2025 08:33:39 -0500 Subject: [PATCH] jank client fix for corrections --- src/webpage/utils/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webpage/utils/utils.ts b/src/webpage/utils/utils.ts index f12cd37..cd1fc5e 100644 --- a/src/webpage/utils/utils.ts +++ b/src/webpage/utils/utils.ts @@ -516,7 +516,7 @@ export async function getapiurls(str: string): Promise< tempurls.api.protocol = protical; tempurls.gateway.host = newOrgin; - tempurls.gateway.protocol = newOrgin === "http:" ? "ws:" : "wss:"; + tempurls.gateway.protocol = temp.protocol === "http:" ? "ws:" : "wss:"; tempurls.wellknown.host = newOrgin; tempurls.wellknown.protocol = protical;