You can set this specifically when you do the fetch(request) call in the {options} part
You can set this specifically when you do the fetch(request) call in the {options} part
example.com, and I want a few workers to serve the content of my sites:shop.example.com -> Remix app on workerdashboard.example.com -> Remix app on workerexample.com/auth -> Remix app on workerexample.com/api -> workers REST API (hono.js)example.com/api from the web app workers to create one source of truth for API calls. Is this generally an acceptable pattern, or should I just query d1 directly in each worker?example.com/api?example.com/api. This doesn't seem to be doable with a custom worker domain since it includes a pathname. But for a worker route to work, I must already proxy the domain through Cloudflare. I currently have no DNS records. How do I point example.com/api to the api worker script?c.set("db") and access it through c.var (this is for hono specifically, but same applies for workers)env gg.example.comshop.example.comdashboard.example.comexample.com/authexample.com/apiexample.com/apiexample.com/apiexample.com/apiexample.com/api Error: Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limit (workers.api.error.script_too_large)c.set("db")c.var