I have a custom domain added inside a Cloudflare and two workers. I need to make a request to endpoint of one worker from another worker and I’m getting a 404 error. This works correctly when one of them is run under workers.dev domain.
Is there a way to make this work without having two custom domains?
Doing a subrequest to the same zone is not currently supported. When service binding is released (https://blog.cloudflare.com/introducing-worker-services/) this will allow you to do this and without latency!
For now, you will indeed need to call another zone (workers.dev or another domain)
Thank you for quick answer. Do we have any estimate when service binding could be released ?
They mentioned in the last community call some external testers have just got access. So, hopefully pretty soon but as usual, no ETA
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.