Add a proxy server for ranges

This commit is contained in:
Ilya Ig. Petrov 2018-04-18 21:32:50 +05:00
parent 68d1270c54
commit f9f50a4314

View File

@ -75,8 +75,11 @@
Encoded to counter abuse. */ Encoded to counter abuse. */
host: '\x70\x72\x6f\x78\x79\x2e\x61\x6e\x74\x69\x7a\x61\x70\x72\x65\x74\x2e\x70\x72\x6f\x73\x74\x6f\x76\x70\x6e\x2e\x6f\x72\x67', host: '\x70\x72\x6f\x78\x79\x2e\x61\x6e\x74\x69\x7a\x61\x70\x72\x65\x74\x2e\x70\x72\x6f\x73\x74\x6f\x76\x70\x6e\x2e\x6f\x72\x67',
}; };
const proxyForRanges =
'\x63\x63\x61\x68\x69\x68\x61\x2e\x61\x6e\x74\x69\x7a\x61\x70\x72\x65\x74\x2e\x70\x72\x6f\x73\x74\x6f\x76\x70\x6e\x2e\x6f\x72\x67';
privates._strToHostObj = { privates._strToHostObj = {
[_antizapret.host]: _antizapret, [_antizapret.host]: _antizapret,
[proxyForRanges]: { host: proxyForRanges },
}; };
privates._ipToHostObj = {}; privates._ipToHostObj = {};