fix: update vite config for static file serving
This commit is contained in:
parent
a29b2bb2b5
commit
e41ce01162
1 changed files with 6 additions and 3 deletions
|
|
@ -9,7 +9,10 @@ export default defineConfig({
|
||||||
'Access-Control-Allow-Origin': '*'
|
'Access-Control-Allow-Origin': '*'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
optimizeDeps: {
|
preview: {
|
||||||
include: ['react-icons']
|
port: 804,
|
||||||
}
|
host: true,
|
||||||
|
strictPort: true
|
||||||
|
},
|
||||||
|
publicDir: 'public' // Explicitly set public directory
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue