d3ro-voice/apps/web/src/app/(app)
Yun Chan b6fe588a7c feat(web): serve the web app under /app and send every billing link there (WS-B)
apps/web was never deployed, so /billing on the public domain returned the
landing page and d3ro.dev (desktop "upgrade") did not resolve.

- apps/web runs with basePath /app and output standalone; /download and
  /releases redirect to the site's #download. A Dockerfile and a d3ro-web
  compose service (port 3002) deploy it to the NAS with the other images.
- The site bridge worker forwards /app/* to WEB_APP_ORIGIN (the tunnel host)
  and rewrites upstream redirects; everything else still goes to Pages.
  With no origin configured /app answers 503 instead of the landing page.
- Desktop upgrade, desktop Stripe return, mobile subscription management,
  the web checkout/portal returns and the site all use billingUrl(); the
  return query is success=1 / canceled=1, which the billing page reads.
  The billing page highlights ?tier=pro|pro_plus, and signing in from a
  billing link returns to the same plan.
- auth/callback pins the redirect origin in production and rejects
  protocol-relative next= values (open redirect).
- Mobile legal links use SITE_URLS (fixes the missing slash on /terms).
- Compose drops the unused NEXT_PUBLIC_API_URL and the dead wwwroot legal
  mounts; deploy scripts add the web image and the SUPABASE_* values the NAS
  compose already required; .dockerignore keeps app .env files out of images.
- Supabase auth redirects allow /app/** (remote dashboard must match).

Policy: docs/REFACTOR_POLICY.md Wave 3, W3-3 and W3-4.
2026-09-26 15:48:30 +09:00
..
actions feat(V2-5차): pgvector 시맨틱 검색 + chat 스트리밍 + doc 편집 + VoiceAction + Realtime + storage + 메모 2026-04-10 09:30:41 +09:00
billing feat(web): serve the web app under /app and send every billing link there (WS-B) 2026-09-26 15:48:30 +09:00
chat feat(release): prepare 1.1.0 candidate 2026-08-29 18:33:45 +09:00
commands feat(web): manage dictionaries and teams from the console 2026-09-16 23:24:27 +09:00
dashboard feat(release): prepare 1.1.0 candidate 2026-08-29 18:33:45 +09:00
dictionary feat(web): manage dictionaries and teams from the console 2026-09-16 23:24:27 +09:00
history feat(web): manage dictionaries and teams from the console 2026-09-16 23:24:27 +09:00
knowledge feat(web): manage dictionaries and teams from the console 2026-09-16 23:24:27 +09:00
meetings refactor(ui): web/admin amber->main 치환 + theme.ts deprecated 별칭 제거 (WS-AMBER) 2026-07-22 02:37:32 +09:00
record feat(release): prepare 1.1.0 candidate 2026-08-29 18:33:45 +09:00
teams feat(web): manage dictionaries and teams from the console 2026-09-16 23:24:27 +09:00
layout.tsx feat(web): serve the web app under /app and send every billing link there (WS-B) 2026-09-26 15:48:30 +09:00