I get this error when my application loads and calls the REST API:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://jad.fsmserver.com/omeka/api/… [I deleted the rest]
CORS header ‘Access-Control-Allow-Origin’ missing
If I refresh the page the error disappears and I get the data I am expecting. Do I need to add something to .htaccess? I am running on my localhost right now. I tried adding this to the .htaccess file where Omeka Classic is running but it doe snot help.
Header set Access-Control-Allow-Origin *
Thanks.