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: { preview: {
host: '0.0.0.0', host: '0.0.0.0',
port: 4321, port: 4321,
// Add the Coolify domain to allowed hosts // Allow all hosts for maximum flexibility with domain changes
allowedHosts: [ allowedHosts: true
'fwo4c4cgkos8k8kk8ow44kcc.reflectonai.com',
'reflectonai.com',
'all'
]
}, },
server: { server: {
host: '0.0.0.0', host: '0.0.0.0',