Unable to bind workers to each other locally when using @cloudflare/vite-plugin
I've been trying to do the work to move to the cloudflare vite plugin. I've got most of the way there, the only remaining issue is that I can't seem to use multiple workers together locally.
My setup is
However, moving to cloudflare vite plugin, when I try to connect to the worker via fetch bindings, I get this error, meaning there is something wrong with the binding.
Would really appreciate some help here. Thank you.
My setup is
- A React Router v7 app
- An API worker
However, moving to cloudflare vite plugin, when I try to connect to the worker via fetch bindings, I get this error, meaning there is something wrong with the binding.
Would really appreciate some help here. Thank you.