fixes bug in control server

This commit is contained in:
Zachary Boyd 2017-12-07 22:35:13 -08:00
parent f8698b1541
commit ddaa185d17
2 changed files with 2 additions and 2 deletions

View file

@ -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>",

View file

@ -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;