diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..c74a3a9 --- /dev/null +++ b/vite.config.js @@ -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' + } +};