Alexander
CDCloudflare Developers
•Created by Alexander on 4/23/2025 in #workers-help
defining custom domain in routes parameter in wrangler.jsonc impacts local host
Context:
- I have added a custom domain as the top level param to wrangler.jsonc
"routes": [
{
"pattern": "mydomain.com",
"custom_domain": true
}
],
Issue:
- This impacts the host worker THINKS it's own during local dev when running with wrangler dev
How come this is undocumented? I had to guess why did my locally running worker redirects to the production domain - WTF??
Am I missing something?1 replies
CDCloudflare Developers
•Created by Alexander on 4/14/2025 in #workers-help
[ERROR] Error: COOKIE_SECRET is not defined. A secret key is required for signing cookies. -

2 replies
CDCloudflare Developers
•Created by Alexander on 3/1/2025 in #pages-help
Tracking web analytics for a workers subdomain instead of custom domain

3 replies