How to create a worker that can only be called from other workers - pages app calling service bindin

I have a next js app I host on cloudflare pages and a hono.dev app. I wish to service bind the hono app to the next js app. But don't want the hono app to be externally accessible.
1 Reply
cj
cj6mo ago
The docs mention this:
Isolate services from the public Internet. You can deploy a Worker that is not reachable via the public Internet, and can only be reached via an explicit Service binding that another Worker declares.
But not how to do it.
Want results from more Discord servers?
Add your server