To allow a Worker to receive inbound HTTP requests, you must connect it to an external endpoint such that it can be accessed by the Internet.
There are three types of routes:
workers.devsubdomain route automatically created for your Worker that you can disable.
What is best for me?
Custom Domains are recommended for use cases where your Worker is your application’s origin server. Custom Domains can also be invoked within the same zone via
fetch(), unlike Routes.
Routes are recommended for use cases where your application’s origin server is external to Cloudflare. Note that Routes cannot be the target of a same-zone