Service Binding Page Worker to Worker Locally Set up
We currently have a few workers and then a remix site. Setting up worker-to-worker communication through service bindings on Cloudflare and locally is super easy.
However, setting up a service binding between remix and worker locally is not working. It can be done on Cloudflare, but not locally. There is no
wrangler.toml
in the remix project.
Following these guides:
- https://developers.cloudflare.com/pages/platform/functions/bindings/#service-bindings
- https://developers.cloudflare.com/workers/runtime-apis/service-bindings/
Has anyone done this before?Service bindings - Runtime APIs · Cloudflare Workers docs
Service bindings are an API that facilitate Worker-to-Worker communication via explicit bindings defined in your configuration. A Service binding …
Bindings · Cloudflare Pages docs
A binding enables your Pages Functions to interact with resources on the Cloudflare developer platform. Use bindings to integrate your Pages Functions …
0 Replies