Skip to content

Commit

Permalink
🔖 Release version 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
younesaassila authored Jun 13, 2023
2 parents 5c90115 + ab472d7 commit c345ef4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ttv-lol-pro",
"version": "2.0.1",
"version": "2.0.2",
"description": "TTV LOL PRO removes most livestream ads from Twitch.",
"@parcel/bundler-default": {
"minBundles": 10000000,
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.chromium.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "TTV LOL PRO",
"description": "TTV LOL PRO removes most livestream ads from Twitch.",
"version": "2.0.1",
"version": "2.0.2",
"background": {
"service_worker": "background/background.ts",
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "TTV LOL PRO",
"description": "TTV LOL PRO removes most livestream ads from Twitch.",
"version": "2.0.1",
"version": "2.0.2",
"background": {
"scripts": ["background/background.ts"],
"persistent": false
Expand Down
4 changes: 3 additions & 1 deletion src/options/options.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import $ from "../common/ts/$";
import getProxyInfoFromUrl from "../common/ts/getProxyInfoFromUrl";
import isChromium from "../common/ts/isChromium";
import readFile from "../common/ts/readFile";
import saveFile from "../common/ts/saveFile";
Expand Down Expand Up @@ -216,7 +217,8 @@ function isNormalProxyUrlAllowed(url: string): AllowedResult {
}

// Allow donator proxy (password protected).
if (urlLower === "restricted.api.cdn-perfprod.com:6691") {
const proxyInfo = getProxyInfoFromUrl(urlLower);
if (proxyInfo.host === "restricted.api.cdn-perfprod.com") {
return [true];
}

Expand Down

0 comments on commit c345ef4

Please sign in to comment.