mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-10 19:46:34 +03:00
Inform FireFox user about WARP proxying (https proxy fails)
This commit is contained in:
parent
6e24ee0454
commit
1c479a4e47
|
@ -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