Switch beta.mathjax.org to cdn.mathjax.org (since https users will never get this beta MathJax.js anyway).
This commit is contained in:
parent
b29833de63
commit
6ab067a14c
File diff suppressed because one or more lines are too long
|
@ -2974,7 +2974,7 @@ MathJax.Hub.Startup = {
|
|||
}
|
||||
CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'')
|
||||
// convert rackspace to cdn.mathjax.org now that it supports https protocol
|
||||
.replace(/^(https?:)\/\/[0-9a-f]+(-[0-9a-f]+)?.ssl.cf1.rackcdn.com\//,"$1//beta.mathjax.org/");
|
||||
.replace(/^(https?:)\/\/[0-9a-f]+(-[0-9a-f]+)?.ssl.cf1.rackcdn.com\//,"$1//cdn.mathjax.org/");
|
||||
BASE.Ajax.config.root = CONFIG.root;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user