Improved: Logging of missing frameworks

This commit is contained in:
nobody 2020-11-07 08:21:24 +01:00
parent 45b1a2fc9e
commit 9ce7cc51b6
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
1 changed files with 6 additions and 1 deletions

View File

@ -175,7 +175,12 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
};
}
}
if (requestAnalyzer.logging && channelHost + channelPath !== 'fonts.googleapis.com/css') {
if (
requestAnalyzer.logging &&
channelHost + channelPath !== 'fonts.googleapis.com/css' &&
channelHost + channelPath !== 'fonts.googleapis.com/css2'
) {
console.warn('[ LocalCDN ] Missing resource: ' + channelHost + channelPath);
}
return false;