fix: Ensure consistent server and preview configuration in vite.config.js
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user