cloudflare worker not triggered on a route

I have a cloudflare worker but it's not triggered on a route I configured.
routes = [
{ pattern = "myapp/resources-v2/*", zone_id = "abc123"}
]
routes = [
{ pattern = "myapp/resources-v2/*", zone_id = "abc123"}
]
I can see the worker in the domain's settings in cloudflare under the "workers routes" tab. This tells me that the zone_id at least is right. As for the pattern, I can see the browser calling https://myapp/resources-v2/very long/list/of/resources/?query-params=im-stuck-and-need-help in the developers' console. And finally, when I go directly to the worker's address at *.workers.dev I can see logs appearing in cloudflare. So the worker is deployed. I don't know what I can verify besides these 3 things I mentioned above. Can someone please give me a hint? Thanks kindly
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server