Enable CORS
Opened this issue · 1 comments
lucianojmf commented
Hi.
How can i use on my .htacces the mod_headers? I'm trying enable CORS to acces my blog from AngularJS app using JSON API plugin, but this need to set Access Control Allow Origin.
When i put it on .htacces server return 500 error.
<ifModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</ifModule>
Thanks
srinidhigs commented
@lucianojmf Were you able to figure out the issue? I am facing a similar situation.
My site address is different from the wordpress address and hence the issue