fix: Set host: true for all network interfaces

This commit is contained in:
Kunthawat Greethong
2026-03-03 10:47:07 +07:00
parent 1382b2fafc
commit 81742ef9ee

View File

@@ -4,15 +4,15 @@ import tailwindcss from '@tailwindcss/vite';
export default defineConfig({
vite: {
plugins: [tailwindcss()]
},
// Allow all hosts - required for Easypanel deployment
plugins: [tailwindcss()],
server: {
host: '0.0.0.0',
allowedHosts: true
host: true, // Listen on all addresses
allowedHosts: true // Allow all hostnames
}
},
// Preview server configuration
preview: {
host: '0.0.0.0',
host: true,
allowedHosts: true
}
});