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