"proxyByName" is now disabled by default because most browsers do not support SOCKS authentication
This commit is contained in:
parent
2f57082394
commit
d2b64ad796
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "tor-router",
|
"name": "tor-router",
|
||||||
"version": "4.0.0",
|
"version": "4.0.1",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"repository": "git@github.com:znetstar/tor-router.git",
|
"repository": "git@github.com:znetstar/tor-router.git",
|
||||||
"author": "Zachary Boyd <zachary@zacharyboyd.nyc>",
|
"author": "Zachary Boyd <zachary@zacharyboyd.nyc>",
|
||||||
|
|
|
@ -32,7 +32,7 @@ class TorProcess extends EventEmitter {
|
||||||
this.tor_path = tor_path;
|
this.tor_path = tor_path;
|
||||||
this.granax_options = granax_options;
|
this.granax_options = granax_options;
|
||||||
this.control_password = crypto.randomBytes(128).toString('base64');
|
this.control_password = crypto.randomBytes(128).toString('base64');
|
||||||
this._id = nanoid();
|
this._id = nanoid(12);
|
||||||
|
|
||||||
this.tor_config.DataDirectory = this.tor_config.DataDirectory || temp.mkdirSync();
|
this.tor_config.DataDirectory = this.tor_config.DataDirectory || temp.mkdirSync();
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@ class TorProcess extends EventEmitter {
|
||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
this.process.kill('SIGINT');
|
this.process.kill('SIGINT');
|
||||||
|
|
||||||
await p;
|
await p;
|
||||||
|
|
Loading…
Reference in a new issue