##// END OF EJS Templates
Merge pull request #6134 from minrk/mathjax-cdn...
Min RK -
r17242:56cded0b merge
parent child Browse files
Show More
@@ -537,13 +537,7 b' class NotebookApp(BaseIPythonApplication):'
537 return url
537 return url
538
538
539 # no local mathjax, serve from CDN
539 # no local mathjax, serve from CDN
540 if self.certfile:
540 url = u"//cdn.mathjax.org/mathjax/latest/MathJax.js"
541 # HTTPS: load from Rackspace CDN, because SSL certificate requires it
542 host = u"https://c328740.ssl.cf1.rackcdn.com"
543 else:
544 host = u"http://cdn.mathjax.org"
545
546 url = host + u"/mathjax/latest/MathJax.js"
547 self.log.info("Using MathJax from CDN: %s", url)
541 self.log.info("Using MathJax from CDN: %s", url)
548 return url
542 return url
549
543
General Comments 0
You need to be logged in to leave comments. Login now