17 lines
451 B
JavaScript
17 lines
451 B
JavaScript
// 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'
|
|
}
|
|
};
|