diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 3d2ad5b..5c0935e 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -1,6 +1,6 @@ const devMode = location?.port == '5173'; export const environment = { - apiUrl: devMode ? 'http://localhost' : location.host, + apiUrl: devMode ? 'http://localhost' : location.origin, devMode }