Sup everyone, I am trying figure out what is up with this annoying CORS error
Failed to load https://client-event-reporter.twitch.tv/v1/stats: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://mediafluid.net' is therefore not allowed access.
From what I have read, I will have to send ‘Access-Control-Allow-Origin *’, but I don’t understand how since
right config.html isn’t calling anything, its basically JUST html, css, Well the jquery and config.js are commented.
Anyways, I was hoping if anyone can point me in the right direction.
Actually, I think this will fix it self later (If I understood the documentation correctly :sushing_face:).
This isn’t a “bug” with you extension.
Only need to fix ones that occur with your extension and your EBS.
This was a call to Twitch’s system from Twitch and unrelated to your extension
I’m running into a similar problem here. Which documentation were you referring to? I’d like to read it over as well.
I read the information here https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request however it wasn’t clear to me at first, since the bankend was correctly sending this information via htaccess. Another good source I read was…
I also tested sending Preflight request from a local server and it was working perfectly. In the end its how I came in to the conclusion.
Awesome, thank you very much for the links and information!