Skip to content

Commit

Permalink
vite config base
Browse files Browse the repository at this point in the history
  • Loading branch information
Dat-TG committed Jan 16, 2024
1 parent 4f813dd commit 6fc86e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig(({ command, mode }) => {
const env = loadEnv(mode, process.cwd(), "");
return {
plugins: [react()],
base: env.VITE_REACT_APP_BASE || "./",
base: env.VITE_REACT_APP_BASE || "/AdvancedWebFinalProject/",
optimizeDeps: {
exclude: ["js-big-decimal"],
},
Expand Down

0 comments on commit 6fc86e8

Please sign in to comment.