diff --git a/astro.config.mjs b/astro.config.mjs index 5cbcbd05e..d6469150c 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -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 } });