Skip to content

Commit fc734b1

Browse files
committed
fix path
1 parent dc2cdcc commit fc734b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vite.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ import react from "@vitejs/plugin-react";
33

44
// https://vitejs.dev/config/
55
export default defineConfig({
6+
// Use relative paths in production builds so the app can be hosted from any subfolder.
7+
base: './',
68
plugins: [react()],
79
});

0 commit comments

Comments
 (0)