From 5eb021e5d0617f4c1feed8f91b2c64ed0595d2a3 Mon Sep 17 00:00:00 2001 From: Kunthawat Date: Tue, 10 Mar 2026 14:18:45 +0700 Subject: [PATCH] fix: Allow all hosts for Vite preview server Required for Easypanel hosting --- astro.config.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index 508cbeceb..df372c076 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -5,7 +5,12 @@ import tailwindcss from '@tailwindcss/vite'; // https://astro.build/config export default defineConfig({ + output: 'static', vite: { + server: { + host: '0.0.0.0', + allowedHosts: true, + }, plugins: [tailwindcss()] - } + }, }); \ No newline at end of file