I have added a worker to my account and I have got everything set up and working on the browser side.
When I try and access my API via the provided workers URL it will work with CURL
However, if I try and use my subdomain it wont work unless I provide the
-L parameter it will work.
This is because the
-L flag allows URL redirects.
How can I set up my worker to respond to API calls without putting a redirect on the domain?
I have setup an A record to point to
192.0.2.1 in my DNS