mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-03-14 06:06:15 +01:00
Add workaround in vite.config
This commit is contained in:
parent
c0c6dccdec
commit
3e8901925b
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ export default defineConfig(({command, mode, ssrBuild}) => {
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
ret.define = {
|
ret.define = {
|
||||||
"__API_URL__": JSON.stringify("/"),
|
"__API_URL__": JSON.stringify("http://localhost:3000"),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue