mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-23 18:03:44 +03:00
Inform FireFox user about WARP proxying via block-informer (https proxy fails)
This commit is contained in:
parent
6e24ee0454
commit
034c08828f
|
@ -82,6 +82,7 @@
|
|||
|
||||
privates._ipToHostObj = {
|
||||
'127.0.0.1': { host: 'localhost' },
|
||||
'0.0.0.0': { host: 'localhost' },
|
||||
};
|
||||
|
||||
// Persisted.
|
||||
|
@ -108,7 +109,7 @@
|
|||
const getIpsFor = function getIpsFor(host, cb = mandatory()) {
|
||||
|
||||
if (host.trim() === 'localhost') {
|
||||
return cb(null, ['127.0.0.1', '::1']);
|
||||
return cb(null, ['127.0.0.1', '0.0.0.0', '::1']);
|
||||
}
|
||||
const types = [1, 28];
|
||||
const promises = types.map(
|
||||
|
|
Loading…
Reference in New Issue
Block a user