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

Error when loading assets not over HTTP #2

Open
ameliemaia opened this issue Aug 18, 2017 · 0 comments
Open

Error when loading assets not over HTTP #2

ameliemaia opened this issue Aug 18, 2017 · 0 comments
Assignees

Comments

@ameliemaia
Copy link
Contributor

When trying to load assets locally in a bundle the following error gets thrown: Cross origin requests are only supported for HTTP.

There's a few similar issues that have been reported across different projects:

https://stackoverflow.com/questions/36451720/cordova-ios-cross-origin-requests-are-only-supported-for-http

crosswalk-project/crosswalk-ios#69

A solution could be to use a local web server to load the url request from:

httpswift/swifter#206

@ameliemaia ameliemaia self-assigned this Aug 18, 2017
@ameliemaia ameliemaia added the bug label Aug 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant