fixes bug in control server
This commit is contained in:
parent
f8698b1541
commit
ddaa185d17
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "tor-router",
|
||||
"version": "3.2.0",
|
||||
"version": "3.2.1",
|
||||
"main": "src/index.js",
|
||||
"repository": "git@github.com:znetstar/tor-router.git",
|
||||
"author": "Zachary Boyd <zachary@zacharyboyd.nyc>",
|
||||
|
|
|
@ -84,7 +84,7 @@ class ControlServer {
|
|||
}
|
||||
|
||||
createHTTPServer(port) {
|
||||
this.httpServer = new HTTPProxyServer(this.torPool, this.logger);
|
||||
this.httpServer = new HTTPServer(this.torPool, this.logger);
|
||||
this.httpServer.listen(port || 9080);
|
||||
this.logger && this.logger.info(`[http]: Listening on ${port}`);
|
||||
this.httpServer;
|
||||
|
|
Loading…
Reference in a new issue