From 56cded0b25c5f59e86284bcc705d7200fb1f1eef 2014-07-15 18:31:55 From: Min RK Date: 2014-07-15 18:31:55 Subject: [PATCH] Merge pull request #6134 from minrk/mathjax-cdn remove rackcdn https workaround for mathjax cdn --- 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