Adapt astro.config.mjs to allow for all domains

This commit is contained in:
Greg 2025-05-20 21:17:41 +02:00
parent d97d28202b
commit 234109b48d

View File

@ -13,12 +13,8 @@ export default defineConfig({
preview: {
host: '0.0.0.0',
port: 4321,
// Add the Coolify domain to allowed hosts
allowedHosts: [
'fwo4c4cgkos8k8kk8ow44kcc.reflectonai.com',
'reflectonai.com',
'all'
]
// Allow all hosts for maximum flexibility with domain changes
allowedHosts: true
},
server: {
host: '0.0.0.0',