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 // vite.config.js
export default { export default {
preview: { preview: {
// Add the Coolify domain to the allowed hosts list // Allow ALL hosts - maximum flexibility for domain changes
allowedHosts: [ allowedHosts: true
'fwo4c4cgkos8k8kk8ow44kcc.reflectonai.com',
'reflectonai.com', // Also allow the parent domain
'localhost',
'all' // Allow all hosts (alternative option if specific domains don't work)
]
}, },
server: { server: {
// Also configure the dev server to accept external connections // Also configure the dev server to accept external connections