diff --git a/webapp/config.ts b/webapp/config.ts index 06542ef..bd75dce 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}` } \ No newline at end of file