diff --git a/vite.config.js b/vite.config.js index d98d480..06b9209 100644 --- a/vite.config.js +++ b/vite.config.js @@ -16,6 +16,9 @@ export default defineConfig({ }, preview: { port: 4173, - host: true + host: true, + // `vite preview` is our public demo server (trycloudflare etc.) — accept + // any Host header; static assets only, nothing to poison. + allowedHosts: true } });