jank client fix for corrections

This commit is contained in:
MathMan05 2025-03-29 08:33:39 -05:00
parent 8791841a04
commit c77a273c91

View file

@ -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;