Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS error due to shaders request (http vs https) #11

Open
alemangui opened this issue Jul 21, 2015 · 0 comments
Open

CORS error due to shaders request (http vs https) #11

alemangui opened this issue Jul 21, 2015 · 0 comments

Comments

@alemangui
Copy link
Contributor

Hello,

I noticed that the shaders are not loading because of a CORS error when accessing the app via http. The requests for the shaders are done with https. It is easily circumvented by just accessing the demo site with https, but since Google links to the http site, it may be desirable to support it as well.

XMLHttpRequest cannot load https://webaudiodemos.appspot.com/input/shaders/sonogram-fragment.shader. 
No 'Access-Control-Allow-Origin' header is present on the requested resource. 
Origin 'http://webaudiodemos.appspot.com' is therefore not allowed access.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant