jamidisco
CDCloudflare Developers
•Created by jamidisco on 11/6/2023 in #workers-help
workers.api.error.route_not_allowed_on_subdomain
We have a worker that redirects some paths to a newer codebase. We've been adding those paths manually in the Cloudflare UI, but we'd like to save those paths in wrangler.toml. I've added them like:
routes = [
{ pattern = "www.example.com/ko/lists/", zone_name = "example.com"},
...
{ pattern = "www.example.com/lists/", zone_name = "example.com"}
]
When we run
wrangler deploy
, we see this error message: workers.api.error.route_not_allowed_on_subdomain [code: 10038]
Any ideas?2 replies