Skip to content

Commit c379e36

Browse files
Fix MIME type error on build
Address the 'application/octet-stream' MIME type error occurring in the production environment by ensuring the build process correctly handles JavaScript files. This may involve adjustments to build configurations or file handling to prevent the navigator from misinterpreting file types.
1 parent ea95dc5 commit c379e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.ts

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

66
// https://vitejs.dev/config/
77
export default defineConfig(({ mode }) => ({
8-
base: process.env.NODE_ENV === "production" ? "/sandrine-ds.github.io/" : "/",
8+
base: "/",
99
server: {
1010
host: "::",
1111
port: 8080,

0 commit comments

Comments
 (0)