From 81742ef9eed434e7f9b1b0eb72207f220315154a Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Tue, 3 Mar 2026 10:47:07 +0700 Subject: [PATCH] fix: Set host: true for all network interfaces --- astro.config.mjs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 } });