Skip to content

Commit 172163b

Browse files
authored
Update vite.config.js
1 parent 2eff226 commit 172163b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vite.config.js

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

44
export default defineConfig({
55
plugins: [react()],
6-
// IMPORTANT: This must match your repository name exactly, with slashes
7-
base: '/convolution_visualization_tool/',
6+
// This dot-slash tells it to look for files "right here"
7+
// It prevents 404 errors caused by wrong repository names
8+
base: './',
89
})

0 commit comments

Comments
 (0)