d3ro-voice/scripts
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
..
ci refactor(core): keep plan prices, cloud quotas and public URLs in one contract (WS-A) 2026-09-26 15:48:18 +09:00
install feat(release): make the signing-free install work with nothing but Windows 2026-09-18 12:03:18 +09:00
lib feat(release): publish desktop updates from a tag through one feed 2026-09-16 23:23:00 +09:00
capture-all-official-test-ads.js feat: complete release preparation, 10+ ad mediation, CI/CD, and docker deployment 2026-08-20 11:12:05 +09:00
capture-desktop-actual-app.js feat: complete release preparation, 10+ ad mediation, CI/CD, and docker deployment 2026-08-20 11:12:05 +09:00
capture-desktop-tabs.js test(desktop): add automated Playwright Electron real-app E2E verification suites 2026-08-20 22:27:49 +09:00
capture-desktop-test-ad-rotation.js feat: complete release preparation, 10+ ad mediation, CI/CD, and docker deployment 2026-08-20 11:12:05 +09:00
capture-download-and-release-hub.js feat: add high-end download center and admin release management hub 2026-08-20 11:24:58 +09:00
capture-launch-sandbox-e2e.js feat: complete release preparation, 10+ ad mediation, CI/CD, and docker deployment 2026-08-20 11:12:05 +09:00
capture-official-site-live.js feat: integrate official download and releases section directly into the main homepage 2026-08-20 17:11:52 +09:00
capture-pricing.js fix(release): retire legacy capture publisher 2026-08-29 19:04:07 +09:00
capture-settlement-ledger.js feat: complete release preparation, 10+ ad mediation, CI/CD, and docker deployment 2026-08-20 11:12:05 +09:00
deploy-nas.ps1 feat(web): serve the web app under /app and send every billing link there (WS-B) 2026-09-26 15:48:30 +09:00
deploy-nas.sh feat(web): serve the web app under /app and send every billing link there (WS-B) 2026-09-26 15:48:30 +09:00
deploy-site-to-nas.js feat(release): prepare 1.1.0 candidate 2026-08-29 18:33:45 +09:00
e2e-desktop-app.js test(desktop): add automated Playwright Electron real-app E2E verification suites 2026-08-20 22:27:49 +09:00
e2e-desktop-full-journey.js feat(release): prepare 1.1.0 candidate 2026-08-29 18:33:45 +09:00
e2e-desktop-settings.js test(desktop): add automated Playwright Electron real-app E2E verification suites 2026-08-20 22:27:49 +09:00
gen-keystore.js feat(release): prepare 1.1.0 candidate 2026-08-29 18:33:45 +09:00
inspect-live-d3ro-domain.js ci: add .forgejo/workflows/deploy-site.yml for Cloudflare Pages auto-deployment to d3ro.chanpaca.net 2026-08-20 17:16:12 +09:00
nas-control.sh feat: complete release preparation, 10+ ad mediation, CI/CD, and docker deployment 2026-08-20 11:12:05 +09:00
publish-gh.ps1 feat: complete release preparation, 10+ ad mediation, CI/CD, and docker deployment 2026-08-20 11:12:05 +09:00
real-app-multi-tab-e2e.js test(e2e): add live multi-tab electron screen verification script 2026-08-20 22:33:46 +09:00
test-and-capture-all-10-ad-services.js feat: complete release preparation, 10+ ad mediation, CI/CD, and docker deployment 2026-08-20 11:12:05 +09:00
verify-e2e-downloads-and-releases.js feat(release): prepare 1.1.0 candidate 2026-08-29 18:33:45 +09:00