##// END OF EJS Templates
Backport PR #6134: remove rackcdn https workaround for mathjax cdn...
MinRK -
Show More
@@ -516,13 +516,7 b' class NotebookApp(BaseIPythonApplication):'
516 return url
516 return url
517
517
518 # no local mathjax, serve from CDN
518 # no local mathjax, serve from CDN
519 if self.certfile:
519 url = u"//cdn.mathjax.org/mathjax/latest/MathJax.js"
520 # HTTPS: load from Rackspace CDN, because SSL certificate requires it
521 host = u"https://c328740.ssl.cf1.rackcdn.com"
522 else:
523 host = u"http://cdn.mathjax.org"
524
525 url = host + u"/mathjax/latest/MathJax.js"
526 self.log.info("Using MathJax from CDN: %s", url)
520 self.log.info("Using MathJax from CDN: %s", url)
527 return url
521 return url
528
522
General Comments 0
You need to be logged in to leave comments. Login now