mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Logging improved
This commit is contained in:
@@ -180,7 +180,7 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
|
|||||||
if (bundle === 'MathJax (Bundle)' && filename !== 'MathJax.js') {
|
if (bundle === 'MathJax (Bundle)' && filename !== 'MathJax.js') {
|
||||||
filename = channelPath.replace(Resource.MATHJAX, '');
|
filename = channelPath.replace(Resource.MATHJAX, '');
|
||||||
if (!MathJaxFiles[filename]) {
|
if (!MathJaxFiles[filename]) {
|
||||||
console.warn(`[ LocalCDN ] Missing resource: ${targetPath}`);
|
console.warn(`[ LocalCDN ] Missing resource: ${channelHost + channelPath}`);
|
||||||
log.append(initiator, channelHost + channelPath, '-', true);
|
log.append(initiator, channelHost + channelPath, '-', true);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user