fix: use allowedHosts=true (boolean), disable open in container
This commit is contained in:
@@ -13,10 +13,9 @@ export default defineConfig({
|
||||
},
|
||||
server: {
|
||||
port: 3000,
|
||||
open: true,
|
||||
allowedHosts: process.env.VITE_ALLOWED_HOSTS
|
||||
? process.env.VITE_ALLOWED_HOSTS.split(',')
|
||||
: 'all',
|
||||
host: '0.0.0.0',
|
||||
open: false,
|
||||
allowedHosts: true,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:5001',
|
||||
|
||||
Reference in New Issue
Block a user