aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-07-11 16:51:12 -0400
committerAjay <[email protected]>2023-07-11 16:51:12 -0400
commit3d88d29d9373c5821d77df8a8fdd16032ace4052 (patch)
treee60d5bc80919f1c8f90c94cbe87a96133066bd30 /src
parent87bf472ee459d117c50e1447430ac7601eda2beb (diff)
downloadSponsorBlock-3d88d29d9373c5821d77df8a8fdd16032ace4052.tar.gz
SponsorBlock-3d88d29d9373c5821d77df8a8fdd16032ace4052.zip
potential fix for IP invidious instances
Diffstat (limited to 'src')
-rw-r--r--src/utils.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.ts b/src/utils.ts
index cbe4e589..8e405543 100644
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -240,6 +240,8 @@ export default class Utils {
for (const url of domains) {
permissionRegex.push("https://*." + url + "/*");
permissionRegex.push("http://*." + url + "/*");
+ permissionRegex.push("https://" + url + "/*");
+ permissionRegex.push("http://" + url + "/*");
}
return permissionRegex;