From de47cfd8bd2fea4f3fa7fd1ab3a330e7f8e9e4b6 Mon Sep 17 00:00:00 2001 From: nobody Date: Fri, 6 Nov 2020 07:27:42 +0100 Subject: [PATCH] Improved: Logging of missing frameworks --- core/request-analyzer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/request-analyzer.js b/core/request-analyzer.js index 3a953a87..a061b571 100644 --- a/core/request-analyzer.js +++ b/core/request-analyzer.js @@ -175,7 +175,7 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel }; } } - if (requestAnalyzer.logging) { + if (requestAnalyzer.logging && channelHost + channelPath !== 'fonts.googleapis.com/css') { console.warn('[ LocalCDN ] Missing resource: ' + channelHost + channelPath); } return false;