fix(frontend): Selectieve testen in IDE
This commit is contained in:
parent
6017d9c54f
commit
196875538d
3 changed files with 10 additions and 6 deletions
|
@ -1,5 +1,10 @@
|
|||
export const apiConfig = {
|
||||
baseUrl: ((): string => {
|
||||
if (import.meta.env.MODE === "test") {
|
||||
// TODO Remove hardcoding
|
||||
return "http://localhost:9876/api";
|
||||
}
|
||||
|
||||
if (import.meta.env.VITE_API_BASE_URL) {
|
||||
return import.meta.env.VITE_API_BASE_URL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue