fix: vite config and routes to support no slashes, and api interceptor for fetch (#3824)
* Fix vite config and routes to support no slashes * Added fetch intercept to add custom headers into fetch calls
This commit is contained in:
parent
2f1f1808b9
commit
3e11d8a64d
5 changed files with 26 additions and 6 deletions
|
|
@ -34,7 +34,7 @@ export default defineConfig(({ mode }) => {
|
|||
}, {});
|
||||
|
||||
return {
|
||||
basename: (BASENAME || "") + "/",
|
||||
basename: BASENAME || "",
|
||||
build: {
|
||||
outDir: "build",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue