mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-27 20:03:45 +03:00
Add backup url for antizapret pac-script
This commit is contained in:
parent
86d07b79c3
commit
1aec32de3e
|
@ -275,7 +275,10 @@
|
||||||
<br/> <a href="https://rebrand.ly/ac-pacs">Comparison of PAC-scripts (ru)</a>.
|
<br/> <a href="https://rebrand.ly/ac-pacs">Comparison of PAC-scripts (ru)</a>.
|
||||||
\`,
|
\`,
|
||||||
order: 0,
|
order: 0,
|
||||||
pacUrls: ['https://antizapret.prostovpn.org/proxy.pac'],
|
pacUrls: [
|
||||||
|
'https://antizapret.prostovpn.org/proxy.pac',
|
||||||
|
'https://rebrand.ly/ac-antizapret-pac',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
Антицензорити: {
|
Антицензорити: {
|
||||||
distinctKey: 'Anticensority',
|
distinctKey: 'Anticensority',
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
"message": "Error"
|
"message": "Error"
|
||||||
},
|
},
|
||||||
"Non_critical_error": {
|
"Non_critical_error": {
|
||||||
"message": "Non-critical error"
|
"message": "Non-critical error. Don't worry and go on"
|
||||||
},
|
},
|
||||||
"Donate": {
|
"Donate": {
|
||||||
"message": "Donate"
|
"message": "Donate"
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
"message": "Ошибка"
|
"message": "Ошибка"
|
||||||
},
|
},
|
||||||
"Non_critical_error": {
|
"Non_critical_error": {
|
||||||
"message": "Некритичная ошибка"
|
"message": "Некритичная ошибка. Всё хорошо, продолжайте работу"
|
||||||
},
|
},
|
||||||
"Donate": {
|
"Donate": {
|
||||||
"message": "Поддержать"
|
"message": "Поддержать"
|
||||||
|
|
|
@ -231,12 +231,11 @@
|
||||||
getIpsFor(hostStr, (err, ips, ...warns) => {
|
getIpsFor(hostStr, (err, ips, ...warns) => {
|
||||||
|
|
||||||
console.log('Got IPs + err?:', ips, err);
|
console.log('Got IPs + err?:', ips, err);
|
||||||
if (!err) {
|
if (err) {
|
||||||
resolveIps(ips);
|
|
||||||
} else {
|
|
||||||
reject([err, null, ...warns]);
|
reject([err, null, ...warns]);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
resolveIps(ips);
|
||||||
});
|
});
|
||||||
|
|
||||||
}).then(
|
}).then(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user