-
Notifications
You must be signed in to change notification settings - Fork 9
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
Remote distribution? (CORS-enabled Dropbox) #9
Comments
Dropbox https://www.dropbox.com/enable_public_folder Copy Public Link test upload at: https://dl.dropboxusercontent.com/u/258156216/artpacks/ProgrammerArt-2.1-dev-ResourcePack-20140116.zip |
Attempting to cache through http://coralcdn.org/ by appending .nyud.net, unfortunately it doesn't pass through the CORS headers: XMLHttpRequest cannot load http://dl.dropboxusercontent.com.nyud.net/u/258156216/artpacks/ProgrammerArt-2.1-dev-ResourcePack-20140116.zip. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9966' is therefore not allowed access. But, using the original Dropbox URL does in fact work remotely (is CORS-enabled). Updated demo URL in deathcap/artpacks@104fae3 |
Testing using CORS with Dropbox is working well; planning on publishing there too for v2.1. |
Currently, ProgrammerArt releases can be downloaded from https://github.com/deathcap/ProgrammerArt/releases for local usage. Would be cool if it could also be used remotely, i.e. online.
For https://github.com/deathcap/voxpopuli I include this repository as a submodule (git checkout recursive for development, and GitHub gh-pages also checks it out for the website). Other uses most likely have to include a local copy (unless they are only doing img src), due to cross-domain restrictions.
Maybe mirror the releases on a server which allows Access-Control-Allow-Origin: *, so remote XHR with .crossOrigin = 'anonymous' could be used to load PA.
http://www.w3.org/TR/cors/
The text was updated successfully, but these errors were encountered: