mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-30 13:23:44 +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 = {
|
privates._ipToHostObj = {
|
||||||
'127.0.0.1': { host: 'localhost' },
|
'127.0.0.1': { host: 'localhost' },
|
||||||
|
'0.0.0.0': { host: 'localhost' },
|
||||||
};
|
};
|
||||||
|
|
||||||
// Persisted.
|
// Persisted.
|
||||||
|
@ -108,7 +109,7 @@
|
||||||
const getIpsFor = function getIpsFor(host, cb = mandatory()) {
|
const getIpsFor = function getIpsFor(host, cb = mandatory()) {
|
||||||
|
|
||||||
if (host.trim() === 'localhost') {
|
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 types = [1, 28];
|
||||||
const promises = types.map(
|
const promises = types.map(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user