Hi I am using netlify functions to host my backend service. I am running into an issue with the _header file. I have added two headers to my _header file:
/* Access-Control-Allow-Origin: * Access-Control-Allow-Headers: Content-Type
When I run netlify dev and test the server locally the headers appear. However, when I deploy the service using
netlify deploy --prod, the headers no longer appear.
The deploy logs also show the message:
1 header rule processed All header rules deployed without errors.
What might be causing this issue?