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()], plugins: [react()],
server: { server: {
port: 3000, port: 3000,
host: true host: '0.0.0.0'
}, },
preview: { preview: {
port: 3000, port: 3000,
host: true, host: '0.0.0.0',
strictPort: true strictPort: true,
allowedHosts: 'all'
} }
}) })