mirror of
https://github.com/Komediruzecki/token-circles.git
synced 2026-10-20 09:46:43 +02:00
Wire the prod Worker route to the apex (was a commented-out app.tokencircles.com placeholder) so the app publishes as the brand front door, with the marketing site on about.tokencircles.com. The config comment notes the required www/http -> https redirect and GSC Domain property.
27 lines
1.1 KiB
JSON
27 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/cloudflare/workers-sdk/main/packages/wrangler/config-schema.json",
|
|
"name": "finance-manager",
|
|
"compatibility_date": "2026-05-12",
|
|
"assets": {
|
|
"directory": "./dist",
|
|
"not_found_handling": "single-page-application",
|
|
},
|
|
// Two deploy environments (assets + compatibility_date above are inherited by both).
|
|
// pnpm run deploy:dev -> finance-manager-dev on dev.tokencircles.com (built with --mode dev)
|
|
// pnpm run deploy:prod -> finance-manager on the apex tokencircles.com
|
|
// The app is the brand front door at the apex; the marketing site lives on
|
|
// about.tokencircles.com (packages/tokencircles in the disjoint-colliders repo).
|
|
// Point www.tokencircles.com + http -> https://tokencircles.com with a Cloudflare
|
|
// Redirect Rule (dashboard), and add a GSC Domain property for tokencircles.com.
|
|
"env": {
|
|
"dev": {
|
|
"name": "finance-manager-dev",
|
|
"routes": [{ "pattern": "dev.tokencircles.com", "custom_domain": true }],
|
|
},
|
|
"prod": {
|
|
"name": "finance-manager",
|
|
"routes": [{ "pattern": "tokencircles.com", "custom_domain": true }],
|
|
},
|
|
},
|
|
}
|