domitry / nyaplot

interactive plots generator for Ruby
MIT License
219 stars 27 forks source link

Use HTTPS for d3 #40

Closed rgbkrk closed 9 years ago

rgbkrk commented 9 years ago

In order for scripts to be loaded when the Jupyter notebook server is served over HTTPS, scripts need to fetched from HTTPS as well. Chrome for instance will actively block HTTP scripts when a domain is served over HTTPS.

screenshot 2015-06-03 16 00 42

Note that the cdnjs URL is the "canonical" URL that http://d3js.org/ lists. If there are other resources that need to be fixed, those should be addressed too. For me, this meant not being able to load the IRuby example notebook. /cc @minad

domitry commented 9 years ago

Thanks! As you said other urls may need to be fixed.