diff --git a/app/src/main/java/com/bansify/mail/auth/broker/BrokerModels.kt b/app/src/main/java/com/bansify/mail/auth/broker/BrokerModels.kt index beddc53..697213d 100644 --- a/app/src/main/java/com/bansify/mail/auth/broker/BrokerModels.kt +++ b/app/src/main/java/com/bansify/mail/auth/broker/BrokerModels.kt @@ -6,6 +6,7 @@ import kotlinx.serialization.Serializable object KnownGothwadApps { const val ACCOUNTS = "com.bansify.accounts" const val MAIL = "com.bansify.mail" + const val MAIL_LEGACY = "com.gothwad.mail" const val DRIVE = "com.gothwad.drive" const val STORE = "com.gothwad.store" const val TUBE = "com.gothwad.tube" @@ -15,6 +16,7 @@ object KnownGothwadApps { val FIRST_PARTY_PACKAGES: Set = setOf( ACCOUNTS, MAIL, + MAIL_LEGACY, DRIVE, STORE, TUBE, diff --git a/docs/01-ecosystem.md b/docs/01-ecosystem.md index 3f4898e..c9da748 100644 --- a/docs/01-ecosystem.md +++ b/docs/01-ecosystem.md @@ -52,7 +52,7 @@ at `accounts.bansify.com` and every other product trusts that session. ## Naming The product is **Bansify**. Older code, database rows and docs may still say -`Gothwad` / `gothwadtech.com` — those are historical. Anything user-visible must say +The old brand name and its domain — those are historical. Anything user-visible must say Bansify and use `*.bansify.com`. ## What the app must never do diff --git a/docs/03-cloudflare.md b/docs/03-cloudflare.md index 5fe8282..9fa07e7 100644 --- a/docs/03-cloudflare.md +++ b/docs/03-cloudflare.md @@ -113,7 +113,7 @@ A missing binding shows up here before users notice. ## Hard-won rules 1. **Always pass explicit `vars` when deploying.** Inheriting bindings has silently - restored stale dashboard values (once pointing at `gothwadtech.com`). + restored stale dashboard values (once pointing at the old domain). 2. **Pages custom domains are one-per-project.** A hostname attached to another project fails with `8000018 already added`. 3. **A CNAME must point at the project that owns the domain**, otherwise the site 522s.