diff --git a/vite.config.js b/vite.config.js index d08235a..14a9535 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,8 +1,12 @@ // vite.config.js export default { preview: { - // Allow ALL hosts - maximum flexibility for domain changes - allowedHosts: true + host: '0.0.0.0', // Ensure preview server also listens on all interfaces + allowedHosts: [ + 'fwo4c4cgkos8k8kk8ow44kcc.reflectonai.com', + // Add other specific domains if needed, or localhost for local testing + 'localhost' + ] }, server: { // Also configure the dev server to accept external connections