fix: Voorbereiding production
This commit is contained in:
parent
6a6eed8978
commit
fc5ba93ba0
13 changed files with 293 additions and 257 deletions
|
@ -1,5 +1,5 @@
|
|||
export const apiConfig = {
|
||||
baseUrl: window.location.hostname == "localhost" ? "http://localhost:3000" : window.location.origin,
|
||||
baseUrl: (window.location.hostname === "localhost" && !(window.location.port === '80' || window.location.port === '')) ? "http://localhost:3000/api" : window.location.origin + "/api",
|
||||
};
|
||||
|
||||
export const loginRoute = "/login";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue