fix: Ensure consistent server and preview configuration in vite.config.js

This commit is contained in:
MayaTheShy
2026-02-16 00:14:25 -05:00
parent b0b242a07b
commit 4626ab80ff

View File

@@ -4,6 +4,12 @@ import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: 3000
port: 3000,
host: true
},
preview: {
port: 3000,
host: true,
strictPort: true
}
})