|
4 | 4 | secretsprovider: awskms://alias/districtr-pulumi-secrets?region=us-east-2 |
5 | 5 | config: |
6 | 6 | aws:region: us-east-2 |
7 | | - districtr-infra:appDomain: beta.districtr.org |
8 | | - districtr-infra:apiDomain: api.beta.districtr.org |
| 7 | + # The apex is the canonical host. appDomain also sets APP_BASE_URL — the |
| 8 | + # Auth0 callback base and metadataBase — so until this flipped, pages served |
| 9 | + # at districtr.org still sent sign-ins and canonical URLs to beta. |
| 10 | + districtr-infra:appDomain: districtr.org |
| 11 | + districtr-infra:apiDomain: api.districtr.org |
| 12 | + # Same six names as before the flip, just re-sorted around the new |
| 13 | + # domainName — the cert covers old and new until beta is retired. |
9 | 14 | districtr-infra:extraDomains: |
10 | | - - www.beta.districtr.org |
11 | | - - districtr.org |
12 | 15 | - www.districtr.org |
13 | | - - api.districtr.org |
14 | | - # Routes api.districtr.org to the backend before apiDomain flips to it, so |
15 | | - # the name works the moment DNS points here. Becomes api.beta.districtr.org |
16 | | - # on flip day (cached bundles keep calling the old one). |
| 16 | + - beta.districtr.org |
| 17 | + - www.beta.districtr.org |
| 18 | + - api.beta.districtr.org |
| 19 | + # Bundles built before the API URL flip still call the beta host; this keeps |
| 20 | + # them reaching the backend (and under the API rate limit) until they age out. |
17 | 21 | districtr-infra:extraApiDomains: |
18 | | - - api.districtr.org |
| 22 | + - api.beta.districtr.org |
19 | 23 | districtr-infra:corsOrigins: https://beta.districtr.org,https://www.beta.districtr.org,https://districtr.org,https://www.districtr.org |
20 | 24 | districtr-infra:s3BucketName: |
21 | 25 | secure: v1:MS8AzWKQiTmtjfkB:oz6SV4+k43qsx7zvx/cdwVO4Be+fhIJd1wMaghY7OLAHbWwTV3gzHrTg |
|
0 commit comments