diff options
author | Ajay <[email protected]> | 2023-07-11 16:51:12 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2023-07-11 16:51:12 -0400 |
commit | 3d88d29d9373c5821d77df8a8fdd16032ace4052 (patch) | |
tree | e60d5bc80919f1c8f90c94cbe87a96133066bd30 /src | |
parent | 87bf472ee459d117c50e1447430ac7601eda2beb (diff) | |
download | SponsorBlock-3d88d29d9373c5821d77df8a8fdd16032ace4052.tar.gz SponsorBlock-3d88d29d9373c5821d77df8a8fdd16032ace4052.zip |
potential fix for IP invidious instances
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.ts | 2 |
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; |