Skip to content

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

@alemangui

Description

@alemangui

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions