I am trying to access json resources deployed to a standard netlify site - but getting:
" No ‘Access-Control-Allow-Origin’ header is present on the requested resource" .
From the SPA when I make a request to the json file.
I am trying to formulate a _headers file to enable Cors - but having difficulty in getting this to work, and not sure this is in fact the correct approach.
I can see that the files are there as a standard browser request is retrieving them.
Any advice greatly appreciated!