From 5065c7ab58c7ba3e2134da3b230e6168f3167942 Mon Sep 17 00:00:00 2001 From: Elijah R Date: Sun, 14 Jul 2024 16:20:08 -0400 Subject: [PATCH] ok i really need to gitignore this or something jesus --- webapp/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/config.ts b/webapp/config.ts index 1207cd5..98439ed 100644 --- a/webapp/config.ts +++ b/webapp/config.ts @@ -1,4 +1,4 @@ export const Config = { // The server address for the webapp to connect to. The below default is the same address the webapp is hosted at. - serverAddress: `http://127.0.0.1:3000` + serverAddress: `${window.location.protocol}//${window.location.host}` };