Access Control Allow Origin Header - where & how?
|
10-02-2014, 12:37 PM
Post: #1
|
|||
|
|||
![]()
After a lot of hard work, I have my site running pretty well. However an error keeps showing up in the console of my developer tools.
XMLHttpRequest cannot load http://..... No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.enduringepilepsy.com' is therefore not allowed access. The address that cannot access it always css from Google PageSpeed.(I removed it above because its long and jumbled) PageSpeed seems to be working fine but I keep having this show up and want to find out how to fix it. The research I did lead me to these sites: CORS - Access Control W3 - CORS but I'm not sure where and how to add the code. ![]() ![]() Thanks. |
|||
10-03-2014, 01:49 AM
Post: #2
|
|||
|
|||
RE: Access Control Allow Origin Header - where & how?
Is it on a specific page (somewhere I can reproduce it)? There is some javascript somewhere on the page making a fetch for the Google PageSpeed URL and it isn't allowed because it's on a different domain.
I'd recommend sending a note to the PageSpeed team with the details because it sounds like a bug in a rewriter somewhere (or an unexpected interaction). |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)