Dockerize added vite.config.js

This commit is contained in:
Greg 2025-05-20 21:11:41 +02:00
parent 25b029977f
commit a98b504e62

16
vite.config.js Normal file
View File

@ -0,0 +1,16 @@
// 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)
]
},
server: {
// Also configure the dev server to accept external connections
host: '0.0.0.0'
}
};