From 1a7d8a21a92884815deb7af36f076bf2dec72257 Mon Sep 17 00:00:00 2001 From: Zonghao Yuan <64521992+zonghaoyuan@users.noreply.github.com> Date: Thu, 18 Jun 2026 18:57:17 +0800 Subject: [PATCH] chore(deploy): sanitize wrangler.jsonc for open source, hide story persistence UI (#96) - Replace hardcoded API URLs and model names with empty-string placeholders so self-deployers set their own values via Dashboard - Comment out D1/R2/KV bindings and placement region to prevent deploy failure for users who don't need these optional services - Add comprehensive comments for secrets, optional tuning vars, and build-time NEXT_PUBLIC_* variables - Hide /stories navigation link until auth integration is ready (all story persistence code is retained) Co-authored-by: Claude Opus 4.6 --- app/page.tsx | 10 +---- wrangler.jsonc | 116 +++++++++++++++++++++++++------------------------ 2 files changed, 61 insertions(+), 65 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index eba66cd..ff440ff 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1837,14 +1837,8 @@ export default function HomePage() {
- - - + {/* Story persistence UI hidden until auth integration is ready. + Code in app/stories/, app/api/stories/, lib/db/ is retained. */}