From 3ce02ef01aa4f2d9a2babe7e1d058b29daecf6e7 Mon Sep 17 00:00:00 2001 From: beckerinj Date: Sat, 6 Aug 2022 01:49:16 -0400 Subject: [PATCH] clean --- frontend/src/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx index c08b296e7..9cb26622f 100644 --- a/frontend/src/index.tsx +++ b/frontend/src/index.tsx @@ -16,6 +16,7 @@ export const URL = import.meta.env.MODE === "production" ? location.origin : "http://localhost:9000"; + export const WS_URL = URL.replace("https", "wss").replace("http", "ws") + "/ws"; export const client = new Client(URL);