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:
Lucas Oliveira 2024-09-16 15:42:08 -03:00 • committed by GitHub
commit 3e11d8a64d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 26 additions and 6 deletions

View file

@ -34,7 +34,7 @@ export default defineConfig(({ mode }) => {
}, {});
return {
basename: (BASENAME || "") + "/",
basename: BASENAME || "",
build: {
outDir: "build",
},