fix: update vite config for static file serving

This commit is contained in:
TheMaddax 2024-12-09 17:03:36 -06:00
parent a29b2bb2b5
commit e41ce01162

View file

@ -9,7 +9,10 @@ export default defineConfig({
'Access-Control-Allow-Origin': '*'
}
},
optimizeDeps: {
include: ['react-icons']
}
preview: {
port: 804,
host: true,
strictPort: true
},
publicDir: 'public' // Explicitly set public directory
})