Can't get request to a certain route go through a worker


I’m trying to get requests to my subdomain to go through a worker. “restaurant” is a CNAME that points to HubSpot CMS. I’ve created a worker that intercepts all requests to* and returns the content fetched from another website.

The CNAME is configured to be proxied, but still, every request to* is still served by HubSpot, and it never reaches the worker. The interesting thing is that, if I try to do the same thing with another subdomain, “careers”, which is configured as a proxied CNAME that instead is targeting another CMS, the whole thing works as expected. What am I missing?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.