-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Loading javascript assets over https where appropriate #93
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
Conversation
|
@apatil Thanks. Great work! I am a little swamped with work and cannot fully review/test this. But I will do ASAP. Meanwhile, can you confirm if you have to add a "certificate exception" when using this? My PR (#84) suffered from this and I believe it was on of the cloud flare URLs. If not you will close my and use yours 😉 |
|
HI @ocefpaf, do you mean that when you go to something like https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.3/d3.min.js in your browser, it doesn't want to accept the certificate? I haven't seen that on Chrome or Firefox on Linux, at least. |
|
I was using this one: https://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js cloudflare's URLs are fine here too. I think it is OK to merge, let me just tests this and I will hit the button. Thanks again for the awesome PR. |
Loading javascript assets over https where appropriate
|
@apatil Just tested and it works just fine. Thanks again! |
|
If protocols aren't specified, eg and try to view the
and break, because eg For folk who don't run local webservers and using folium in an IPython notebook to generate standalone map files, and who want to share maps as standalone HTML files with other folk who don't run/have access to local webservers (i.e. folk who just want to double click on a file to open it), this is something of a blocker? |
|
This issue has re-surfaced a lot lately. The design was to always serve (and python simple http can help with
|
Hi folium devs,
This PR makes it easier to embed folium widgets in pages that are served over https.
Thanks!