This commit is contained in:
beckerinj
2022-08-06 01:49:16 -04:00
parent d7b5966f8b
commit 3ce02ef01a

View File

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