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
HTTPS access for OpenLayers.js? #1025
Comments
|
You are strongly encouraged to host your own build of OpenLayers. http://openlayers.org/api/ has no guaranteed uptime and runs on a slow server. |
|
It still would be nice if openlayers.org had HTTPS available (perhaps even forced) so that developers could download the source over a secure connection. |
|
@dismantl github provides secure download of the source code, eg. https://github.com/openlayers/openlayers/archive/release-2.13.1.zip |
|
good point, thanks! |
|
HTTPS CDN URL for reference: https://cdnjs.cloudflare.com/ajax/libs/openlayers/2.13.1/OpenLayers.js |
I'm trying to use the latest API by linking directly to http://www.openlayers.org/api/OpenLayers.js. The problem is that when we've switched on HSTS, the .js wouldn't load:
I've copied the .js to my server, but it would be nice if https://www.openlayers.org/api/OpenLayers.js would be supported, so we can use protocol-less URIs as in c0bff1c.
(If there's another recommended way to do HTTPS, please let me know; a Google search wasn't very helpful.)
The text was updated successfully, but these errors were encountered: