feat(calendar): add runtime STT URL injection for production

- Add PUBLIC_STT_URL to hooks.server.ts runtime injection
- Update stt.ts to use runtime-injected URL with fallback
- Update .env.development to use production STT URL
- Update generate-env.mjs with STT URL mapping

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-01-28 15:25:39 +01:00
parent 3ff8d3833b
commit 7138236046
7 changed files with 78 additions and 6 deletions

View file

@ -222,6 +222,11 @@ CONTACTS_GOOGLE_REDIRECT_URI=http://localhost:5184/import?tab=google
CALENDAR_BACKEND_PORT=3014
CALENDAR_DATABASE_URL=postgresql://manacore:devpassword@localhost:5432/calendar
# Speech-to-Text Service (mana-stt)
# Production: https://stt-api.mana.how
# Local dev: http://localhost:3020
STT_URL=https://stt-api.mana.how
# ============================================
# STORAGE PROJECT (Cloud Drive)
# ============================================