Pages user here.
My Pages site has a custom domain. In the custom domain section, I have a worker.
The custom domain is a-view.org
. It cnames to the Pages url, which is a-view-hugo.pages.dev
. For preview (non-production) builds the actual URL looks like: 37872bfc.a-view-hugo.pages.dev
The worker is a work around for Pages mis-setting css mime types and so it determines whether the preview site will render correctly in browsers.
The route for the custom domain is: `a-view.org/
I think I would need a route like this for the preview builds: *a-view-hugo.pages.dev/*
When I try to add this route for the worker, I get: Route pattern must include zone name: *a-view-hugo.pages.dev/*
This must be because this url pattern doesn’t seem like it fits the zone a-view.org. It seems sort of weird that I’d need to create a domain for the Pages domain just so I can assign a route for the rule. That’s not really my domain–it’s CloudFlare’s.
Any ideas?
Thanks.