Add backup url for antizapret pac-script

This commit is contained in:
ilyaigpetrov 2021-08-31 15:58:16 +00:00
parent 86d07b79c3
commit 1aec32de3e
4 changed files with 9 additions and 7 deletions

View File

@ -275,7 +275,10 @@
<br/> <a href="https://rebrand.ly/ac-pacs">Comparison of PAC-scripts (ru)</a>.
\`,
order: 0,
pacUrls: ['https://antizapret.prostovpn.org/proxy.pac'],
pacUrls: [
'https://antizapret.prostovpn.org/proxy.pac',
'https://rebrand.ly/ac-antizapret-pac',
],
},
Антицензорити: {
distinctKey: 'Anticensority',

View File

@ -87,7 +87,7 @@
"message": "Error"
},
"Non_critical_error": {
"message": "Non-critical error"
"message": "Non-critical error. Don't worry and go on"
},
"Donate": {
"message": "Donate"

View File

@ -87,7 +87,7 @@
"message": "Ошибка"
},
"Non_critical_error": {
"message": "Некритичная ошибка"
"message": "Некритичная ошибка. Всё хорошо, продолжайте работу"
},
"Donate": {
"message": "Поддержать"

View File

@ -231,12 +231,11 @@
getIpsFor(hostStr, (err, ips, ...warns) => {
console.log('Got IPs + err?:', ips, err);
if (!err) {
resolveIps(ips);
} else {
if (err) {
reject([err, null, ...warns]);
return;
}
resolveIps(ips);
});
}).then(