Remove default cloudflare domain?

After adding a custom domain and route, is there a way to not just disable but remove the default route completely from a worker?

Sure you can.

On the dashboard:

Or if using the Wrangler CLI, add workers_dev = false to the wrangler.toml file.

Here is the docs on that:


Thank you for your rapid reply! While functionally it does what I want, it is still only disabled and the reference remains.
If possible, I would like to delete the reference to it as well.

Where would that reference be displayed? You can’t remove the domain entirely, just disable it on a per-worker basis.

OK, thank you for the information! :slightly_smiling_face:

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