d3ro-voice/packages/core/src
Yun Chan 4aadee8264 fix(edge): route /app and /api on d3ro.chanpaca.net through the NAS tunnel again
Since 2026-09-19 the site bridge worker served every path from Pages, so the
API server on the NAS had no public route: admin login (API_SERVER_URL)
and stt-proxy (D3RO_API_URL) called https://d3ro.chanpaca.net/api/... and
got the landing page's 405.

- The worker passes /app, /api and /health through to the domain origin
  (the kd-nas tunnel) and serves everything else from Pages.
- The kd-nas tunnel sends path ^/app on d3ro.chanpaca.net to the web app
  (NAS 3002); other paths keep going to the API (NAS 5050). No extra
  hostname or DNS record is needed, so WEB_APP_ORIGIN is removed.
- API_PATH_PREFIXES joins WEB_APP_BASE_PATH in packages/core/src/web-urls.ts
  (contract regenerated).

Verified live: /app/login 200, /health and /api/health 200, API login 401 for
an unknown account (was 405), landing/legal/404 unchanged, git/sso/admin
hosts unaffected.
2026-09-26 20:19:27 +09:00
..
utils feat(release): prepare 1.1.0 candidate 2026-08-29 18:33:45 +09:00
caption-streaming.ts feat(caption): stream live captions and polish finished lines in context 2026-09-24 20:22:21 +09:00
constants.ts refactor(core): keep plan prices, cloud quotas and public URLs in one contract (WS-A) 2026-09-26 15:48:18 +09:00
entitlement.ts feat(shared): gate paid features from one entitlement source 2026-09-16 23:24:18 +09:00
errors.ts release: ship v1.5.0 with on-device writing suggestions 2026-09-23 16:04:27 +09:00
index.ts refactor(core): keep plan prices, cloud quotas and public URLs in one contract (WS-A) 2026-09-26 15:48:18 +09:00
input-intelligence.ts feat(caption): let live captions use their own speech model 2026-09-24 21:46:54 +09:00
ipc-channels.ts feat(caption): stream live captions and polish finished lines in context 2026-09-24 20:22:21 +09:00
keybinding.ts feat(caption): let live captions use their own speech model 2026-09-24 21:46:54 +09:00
personal-graph.ts release: ship v1.5.0 with on-device writing suggestions 2026-09-23 16:04:27 +09:00
plan-catalog.ts refactor(core): keep plan prices, cloud quotas and public URLs in one contract (WS-A) 2026-09-26 15:48:18 +09:00
supabase-config.ts feat(release): prepare 1.1.0 candidate 2026-08-29 18:33:45 +09:00
types.ts feat(caption): let live captions use their own speech model 2026-09-24 21:46:54 +09:00
web-urls.ts fix(edge): route /app and /api on d3ro.chanpaca.net through the NAS tunnel again 2026-09-26 20:19:27 +09:00