// vite.config.js export default { preview: { // Allow ALL hosts - maximum flexibility for domain changes allowedHosts: true }, server: { // Also configure the dev server to accept external connections host: '0.0.0.0' } };