I’m trying to get requests to my
restaurant.mywebsite.com 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
restaurant.mywebsite.com/my-path/* and returns the content fetched from another website.
The CNAME is configured to be proxied, but still, every request to
restaurant.mywebsite.com/my-path/* 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?