1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Improved: Logging of missing frameworks

This commit is contained in:
nobody
2020-11-07 08:21:24 +01:00
parent 45b1a2fc9e
commit 9ce7cc51b6

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;