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({
|
export default defineConfig({
|
||||||
vite: {
|
vite: {
|
||||||
plugins: [tailwindcss()]
|
plugins: [tailwindcss()],
|
||||||
},
|
server: {
|
||||||
// Allow all hosts - required for Easypanel deployment
|
host: true, // Listen on all addresses
|
||||||
server: {
|
allowedHosts: true // Allow all hostnames
|
||||||
host: '0.0.0.0',
|
}
|
||||||
allowedHosts: true
|
|
||||||
},
|
},
|
||||||
|
// Preview server configuration
|
||||||
preview: {
|
preview: {
|
||||||
host: '0.0.0.0',
|
host: true,
|
||||||
allowedHosts: true
|
allowedHosts: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user