This commit is contained in:
Tibo De Peuter 2025-03-13 01:26:58 +01:00
parent 6a6eed8978
commit 77cdb652e9
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
6 changed files with 138 additions and 414 deletions

View file

@ -1,5 +1,5 @@
export const apiConfig = {
baseUrl: window.location.hostname == "localhost" ? "http://localhost:3000" : window.location.origin,
baseUrl: window.location.host === "localhost" ? "http://localhost:3000" : window.location.origin + "/api",
};
export const loginRoute = "/login";