From bfaeba0cee5bdbed2135403e3182c21ad2ac362a Mon Sep 17 00:00:00 2001 From: Greg Date: Tue, 20 May 2025 21:21:29 +0200 Subject: [PATCH] Debug astro and vite --- vite.config.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/vite.config.js b/vite.config.js index c74a3a9..d08235a 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,13 +1,8 @@ // vite.config.js export default { preview: { - // Add the Coolify domain to the allowed hosts list - allowedHosts: [ - 'fwo4c4cgkos8k8kk8ow44kcc.reflectonai.com', - 'reflectonai.com', // Also allow the parent domain - 'localhost', - 'all' // Allow all hosts (alternative option if specific domains don't work) - ] + // Allow ALL hosts - maximum flexibility for domain changes + allowedHosts: true }, server: { // Also configure the dev server to accept external connections