// vite.config.js // Astro's config (astro.config.mjs) now handles primary server and preview settings. // This file can be used for Vite-specific configurations not directly managed by Astro. export default { // Example: If you had other Vite plugins or very specific Vite-only settings, // they would go here. // For now, it's minimal as Astro manages common settings. // Explicitly adding allowedHosts for Vite preview to address Coolify "Blocked request" preview: { allowedHosts: [ 'fwo4c4cgkos8k8kk8ow44kcc.reflectonai.com', 'localhost' // It's good practice to keep localhost if you test locally ] // Note: host and port are managed by Astro's `astro preview` command // and astro.config.mjs, so we don't need to set them here again. } };