mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
MathJax: TeX-AMS_HTML.js -> TeX-AMS_HTML-full.js (#991)
This commit is contained in:
@@ -245,6 +245,9 @@ requestAnalyzer._getPathOfBundle = function (initiator, channelHost, channelPath
|
||||
if (filename.startsWith('/npm/mathjax@3')) {
|
||||
filename = filename.replace('/npm/mathjax@3/', '');
|
||||
}
|
||||
if (filename === 'config/TeX-AMS_HTML.js') {
|
||||
filename = 'config/TeX-AMS_HTML-full.js';
|
||||
}
|
||||
if (!MathJaxFiles[filename] && !MathJax3Files[filename]) {
|
||||
console.warn(`${LogString.PREFIX} ${LogString.MISSING_RESOURCE} ${channelHost + channelPath}`);
|
||||
log.append(initiator, channelHost + channelPath, '-', true);
|
||||
|
Reference in New Issue
Block a user