Show More
@@ -516,13 +516,7 b' class NotebookApp(BaseIPythonApplication):' | |||
|
516 | 516 | return url |
|
517 | 517 | |
|
518 | 518 | # no local mathjax, serve from CDN |
|
519 | if self.certfile: | |
|
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" | |
|
519 | url = u"//cdn.mathjax.org/mathjax/latest/MathJax.js" | |
|
526 | 520 | self.log.info("Using MathJax from CDN: %s", url) |
|
527 | 521 | return url |
|
528 | 522 |
General Comments 0
You need to be logged in to leave comments.
Login now