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({ 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
} }
}); });