From d97d28202b6896d93ca07c42d57f9223d00aefae Mon Sep 17 00:00:00 2001 From: Greg Date: Tue, 20 May 2025 21:14:33 +0200 Subject: [PATCH] Update astro.config.mjs file to allow domain --- astro.config.mjs | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index 508cbec..137490e 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -5,7 +5,27 @@ import tailwindcss from '@tailwindcss/vite'; // https://astro.build/config export default defineConfig({ + server: { + host: '0.0.0.0' + }, vite: { - plugins: [tailwindcss()] + plugins: [tailwindcss()], + preview: { + host: '0.0.0.0', + port: 4321, + // Add the Coolify domain to allowed hosts + allowedHosts: [ + 'fwo4c4cgkos8k8kk8ow44kcc.reflectonai.com', + 'reflectonai.com', + 'all' + ] + }, + server: { + host: '0.0.0.0', + watch: { + // Enable polling for file changes in Docker + usePolling: true + } + } } }); \ No newline at end of file