Disable or Customize GitHub Integration Preview URLs on Workers (avoid *.workers.dev)
Hi, I recently migrated from Cloudflare Pages to Cloudflare Workers, and I'm running into an issue with the preview URLs generated through the GitHub integration.
I've already disabled the default
*.workers.dev
*.workers.dev
domain by turning off the Preview URLs (*-[project].[user].workers.dev) and only left my custom domain ([my_domain]) active.
However, when the GitHub integration deploys previews (e.g. pull request previews), it still creates URLs like:
[id].[user].workers.dev
[id].[user].workers.dev
I do not want any *.workers.dev URLs, even for previews. Ideally, I'd like the preview to use a subdomain of my own domain, like:
[id].[my_domain]
[id].[my_domain]
Is there any way to:
- Prevent Workers GitHub integration from creating *.workers.dev URLs entirely? - Or at least configure preview URLs to use my own domain?