Files
magpie/site/wrangler.jsonc

19 lines
596 B
JSON

// usemagpie.ai: the static site in public/, plus worker.js for the update
// feed and the download links. Deploy with `npx wrangler deploy` from here.
{
"name": "usemagpie",
"main": "worker.js",
"compatibility_date": "2026-09-01",
"assets": {
"directory": "./public",
"binding": "ASSETS",
// every request, so worker.js can send www.usemagpie.ai to usemagpie.ai
"run_worker_first": true
},
"routes": [
{ "pattern": "usemagpie.ai", "custom_domain": true },
{ "pattern": "www.usemagpie.ai", "custom_domain": true }
],
"observability": { "enabled": true }
}