fix: Set host: true for all network interfaces
This commit is contained in:
@@ -4,15 +4,15 @@ import tailwindcss from '@tailwindcss/vite';
|
||||
|
||||
export default defineConfig({
|
||||
vite: {
|
||||
plugins: [tailwindcss()]
|
||||
},
|
||||
// Allow all hosts - required for Easypanel deployment
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
allowedHosts: true
|
||||
plugins: [tailwindcss()],
|
||||
server: {
|
||||
host: true, // Listen on all addresses
|
||||
allowedHosts: true // Allow all hostnames
|
||||
}
|
||||
},
|
||||
// Preview server configuration
|
||||
preview: {
|
||||
host: '0.0.0.0',
|
||||
host: true,
|
||||
allowedHosts: true
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user