Skip to content

Commit 3e674f1

Browse files
fixed vite config base ./ to /
1 parent 6ea0d5a commit 3e674f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Frontend/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export default defineConfig({
99
host: true, // or "0.0.0.0"
1010
port: 5173,
1111
},
12-
base: "./", //Workers are loaded as separate files.If you use plain new Worker("worker.js"), that path may break.: "./" tells Vite to emit relative URLs for all built assets
12+
base: "/",
1313
});

0 commit comments

Comments
 (0)