diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/externalLicenseChecker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/externalLicenseChecker.js b/content/externalLicenseChecker.js index 181e3f9..516057e 100644 --- a/content/externalLicenseChecker.js +++ b/content/externalLicenseChecker.js @@ -79,7 +79,7 @@ async checkLicensedScript(m) { let {url, cache} = m; if (!licensedScripts) licensedScripts = await fetchLicenseInfo(cache); - return licensedScripts.get(url); + return licensedScripts.get(url) || licensedScripts.get(url.replace(/\?.*/, '')); } } |