From 6caa4f62e7f2bfb896ff325b40c7b9be6e5918d2 Mon Sep 17 00:00:00 2001 From: grokbot_ty Date: Fri, 25 Sep 2026 22:01:44 -0700 Subject: [PATCH] fix(uat): allow Cloudflare quick-tunnel Host on vite preview So phone/laptop without Tailscale can hit overnight UAT via trycloudflare.com. --- frontend/vite.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index d0d0c63..093a7b5 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -10,6 +10,8 @@ export default defineConfig({ proxy: { '/api': { target: 'http://127.0.0.1:18182', changeOrigin: true } }, }, preview: { + // Cloudflare quick tunnel Host header (public UAT without Tailscale) + allowedHosts: true, proxy: { '/api': { target: 'http://127.0.0.1:18182', changeOrigin: true } }, }, });