[addon] updates premiumize moch

This commit is contained in:
TheBeastLT
2021-01-18 15:44:53 +01:00
parent 5074551c41
commit b467943c5e
9 changed files with 97 additions and 29 deletions

View File

@@ -23,7 +23,7 @@ function getRandomProxy() {
}
function getProxyAgent(proxy) {
return new HttpsProxyAgent(proxy);
return proxy && new HttpsProxyAgent(proxy);
}
function blacklistProxy(proxy) {