From 792f21be5a6aba479f139d39e3aec01015e94126 Mon Sep 17 00:00:00 2001 From: MinRK Date: Mon, 14 Jul 2014 15:55:36 -0700 Subject: [PATCH] remove rackcdn https workaround for mathjax cdn cdn.mathjax.org works over https now --- IPython/html/notebookapp.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/IPython/html/notebookapp.py b/IPython/html/notebookapp.py index 2e5a1b970..2069be1be 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