From a98b504e621b6f12d59eee9b2df22d496283975f Mon Sep 17 00:00:00 2001 From: Greg Date: Tue, 20 May 2025 21:11:41 +0200 Subject: [PATCH] Dockerize added vite.config.js --- vite.config.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vite.config.js 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' + } +};