Skip to content

Commit 3aabc07

Browse files
Fix: Resolve 404 errors for CSS and JS files
The commit addresses 404 errors encountered when loading CSS and JavaScript files.
1 parent 2e2d426 commit 3aabc07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { componentTagger } from "lovable-tagger";
66

77
// https://vitejs.dev/config/
88
export default defineConfig(({ mode }) => ({
9-
base: mode === 'production' ? '/your-repo-name/' : '/',
9+
base: mode === 'production' ? '/' : '/',
1010
server: {
1111
host: "::",
1212
port: 8080,

0 commit comments

Comments
 (0)