Debug astro and vite

This commit is contained in:
Greg 2025-05-20 21:21:29 +02:00
parent 234109b48d
commit bfaeba0cee

View File

@ -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