mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-02-17 04:10:53 +01:00
Improved: Logging of missing frameworks
This commit is contained in:
parent
45b1a2fc9e
commit
9ce7cc51b6
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user