fix: Update host configuration in vite.config.js for server and preview

This commit is contained in:
MayaTheShy
2026-02-16 00:15:39 -05:00
parent 172cdac94b
commit dc3ed12b14

View File

@@ -5,11 +5,12 @@ export default defineConfig({
plugins: [react()],
server: {
port: 3000,
host: true
host: '0.0.0.0'
},
preview: {
port: 3000,
host: true,
strictPort: true
host: '0.0.0.0',
strictPort: true,
allowedHosts: 'all'
}
})