Can't access worker "route" from inside SvelteKit worker function
I have a worker that uploads images to R2, and I call it via a fetch via an API route in my SvelteKit application. I have a custom "route" assigned to it, that is in the same zone as the SvelteKit application (hosted on Cloudflare). It only works when I fetch the original URL
is there a solution i ammissing here?
.workers.dev, and not the custom one I have set up which is essentially site.com/image-upload/* even though if I go tot he URL via the browser, it works fine.is there a solution i ammissing here?