process.env you get it from the env passed into the request

custom_domain = true, but I also want to override the routes using --routes would this work? How do I also specify that we are doing a custom domain on the command line during wrangler deploy?fetch() from the worker, then the requests above the limit will start failing?

process.envcustom_domain = true--routeswrangler deployfetch()