staging mail links to prod, and the return page asks a signed-in user to sign in #349

Stängd
öppnade 2026-10-11 08:44:02 +00:00 av supernaut · 0 kommentarer
Ägare

Two staging-only and one general fault seen during the staging run on 2026-10-11:

  • Email links use the build-time SITE_URL (src/i18n/emails.ts: account link, renew link, footer), so staging mail links to prod. Take the origin at runtime, as /api/checkout and the setup link do.
  • Email subjects and body use a fixed BRAND, so staging mail does not show SITE_NAME.
  • The checkout return page shows "Log in to see your plan" to a signed-in user. Link to the account page instead when there is a session.

Done when: staging mail links to www.stg.bitborg.se, and the return page reads right for a signed-in user.

Two staging-only and one general fault seen during the staging run on 2026-10-11: - [ ] Email links use the build-time `SITE_URL` (`src/i18n/emails.ts`: account link, renew link, footer), so staging mail links to prod. Take the origin at runtime, as `/api/checkout` and the setup link do. - [ ] Email subjects and body use a fixed `BRAND`, so staging mail does not show `SITE_NAME`. - [ ] The checkout return page shows "Log in to see your plan" to a signed-in user. Link to the account page instead when there is a session. Done when: staging mail links to `www.stg.bitborg.se`, and the return page reads right for a signed-in user.
supernaut lade till detta till projektet Bitborg Web 2026-10-11 08:44:19 +00:00
Logga in för att delta i denna konversation.
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-web#349
Ingen beskrivning angiven.