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 <noreply@anthropic.com>
This commit is contained in:
Zonghao Yuan
2026-06-18 18:57:17 +08:00
committed by GitHub
parent 0e4c2ebef4
commit 1a7d8a21a9
2 changed files with 61 additions and 65 deletions
+2 -8
View File
@@ -1837,14 +1837,8 @@ export default function HomePage() {
</span>
<div className="flex items-center gap-4 md:gap-5">
<LanguageSwitcher variant="compact" />
<Link
href="/stories"
aria-label="我的剧情"
title="我的剧情"
className="text-base text-clay-500 hover:text-ember-500 transition-colors cursor-pointer"
>
<i className="fa-solid fa-book-bookmark" />
</Link>
{/* Story persistence UI hidden until auth integration is ready.
Code in app/stories/, app/api/stories/, lib/db/ is retained. */}
<button
type="button"
onClick={() => {