From 84ff3ec15787158ec4682fa85a2cccbb4e405dd1 2014-07-14 22:55:36 From: MinRK Date: 2014-07-14 22:55:36 Subject: [PATCH] remove rackcdn https workaround for mathjax cdn cdn.mathjax.org works over https now --- diff --git a/IPython/html/notebookapp.py b/IPython/html/notebookapp.py index 2e5a1b9..2069be1 100644 --- a/IPython/html/notebookapp.py +++ b/IPython/html/notebookapp.py @@ -537,13 +537,7 @@ class NotebookApp(BaseIPythonApplication): return url # no local mathjax, serve from CDN - if self.certfile: - # HTTPS: load from Rackspace CDN, because SSL certificate requires it - host = u"https://c328740.ssl.cf1.rackcdn.com" - else: - host = u"http://cdn.mathjax.org" - - url = host + u"/mathjax/latest/MathJax.js" + url = u"//cdn.mathjax.org/mathjax/latest/MathJax.js" self.log.info("Using MathJax from CDN: %s", url) return url