Skip to content

Commit 3fe4fdc

Browse files
authored
Merge pull request #186 from develop
chore: merge develop to main for Cloudflare production custom domains
2 parents 0056f87 + 6eca5d9 commit 3fe4fdc

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

wrangler.jsonc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
22
"$schema": "./node_modules/wrangler/config-schema.json",
33
// Bayan Flow — static Vite SPA on Cloudflare Workers (not Pages).
4-
// Migration phases:
5-
// 1. Deploy to *.workers.dev only (no custom domains in routes below).
6-
// 2. Smoke-test on workers.dev URLs.
7-
// 3. Uncomment staging routes → repoint dev.bayanflow.com in Cloudflare dashboard.
8-
// 4. Uncomment production routes → repoint bayanflow.com.
9-
// Keep Netlify projects alive as rollback until both domains are stable.
4+
// Phases 1–2 complete (workers.dev smoke-tested).
5+
// Phase 3–4: custom domains below — deploy then repoint DNS in Cloudflare dashboard.
6+
// Keep Netlify projects alive as rollback until both domains are stable ~2 weeks.
107
"name": "bayan-flow",
118
"compatibility_date": "2026-06-23",
129
"workers_dev": true,
@@ -19,14 +16,17 @@
1916
"staging": {
2017
"name": "bayan-flow-staging",
2118
"workers_dev": true,
22-
"preview_urls": true
23-
// "routes": [{ "pattern": "dev.bayanflow.com", "custom_domain": true }]
19+
"preview_urls": true,
20+
"routes": [{ "pattern": "dev.bayanflow.com", "custom_domain": true }]
2421
},
2522
"production": {
2623
"name": "bayan-flow",
2724
"workers_dev": true,
28-
"preview_urls": true
29-
// "routes": [{ "pattern": "bayanflow.com", "custom_domain": true }]
25+
"preview_urls": true,
26+
"routes": [
27+
{ "pattern": "bayanflow.com", "custom_domain": true },
28+
{ "pattern": "www.bayanflow.com", "custom_domain": true }
29+
]
3030
}
3131
}
3232
}

0 commit comments

Comments
 (0)