aboutsummaryrefslogtreecommitdiff
path: root/content/externalLicenseChecker.js
diff options
context:
space:
mode:
Diffstat (limited to 'content/externalLicenseChecker.js')
-rw-r--r--content/externalLicenseChecker.js2
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(/\?.*/, ''));
}
}