d3ro-voice/server/supabase
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
..
functions fix(edge): route /app and /api on d3ro.chanpaca.net through the NAS tunnel again 2026-09-26 20:19:27 +09:00
migrations feat(server): deliver push without a Firebase project 2026-09-16 23:24:44 +09:00
tests feat(release): prepare 1.1.0 candidate 2026-08-29 18:33:45 +09:00
.gitignore feat(V2-2): Supabase 인프라 — 스키마 + RLS + Edge Functions 스캐폴딩 2026-04-08 15:21:08 +09:00
config.toml feat(web): serve the web app under /app and send every billing link there (WS-B) 2026-09-26 15:48:30 +09:00
seed.sql feat(V2-2): Supabase 인프라 — 스키마 + RLS + Edge Functions 스캐폴딩 2026-04-08 15:21:08 +09:00