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:
+2
-8
@@ -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={() => {
|
||||
|
||||
Reference in New Issue
Block a user