File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ,
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}
You can’t perform that action at this time.
0 commit comments