diff --git a/front/src/constants.ts b/front/src/constants.ts index 57cc0b1..7c4a256 100644 --- a/front/src/constants.ts +++ b/front/src/constants.ts @@ -1 +1 @@ -export const SERVER_URL = import.meta.env.VITE_SERVER_URL ?? 'http://localhost' \ No newline at end of file +export const SERVER_URL = import.meta.env.VITE_SERVER_URL ?? window.location.origin \ No newline at end of file