Skip to content

Commit

Permalink
Inform FireFox user about WARP proxying (https proxy fails)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyaigpetrov committed Jun 26, 2021
1 parent 6e24ee0 commit 1c479a4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@

privates._ipToHostObj = {
'127.0.0.1': { host: 'localhost' },
'0.0.0.0': { host: 'localhost' },
};

// Persisted.
Expand All @@ -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(
Expand Down

0 comments on commit 1c479a4

Please sign in to comment.