From 182045315b0b967933f5e9269d675b7e46c25743 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 3 Jul 2018 04:40:21 -0600 Subject: [PATCH] v0.19.20: winfixes --- bin/telebitd.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/telebitd.js b/bin/telebitd.js index 7683c30..1b9760b 100755 --- a/bin/telebitd.js +++ b/bin/telebitd.js @@ -579,6 +579,8 @@ function serveControlsHelper() { if ('socket' === state._ipc.type) { require('mkdirp').sync(path.dirname(state._ipc.path)); } + // https://nodejs.org/api/net.html#net_server_listen_options_callback + // path is ignore if port is defined if (state._ipc.port) { serverOpts.host = 'localhost'; serverOpts.port = state._ipc.port; diff --git a/package.json b/package.json index f013bbc..881e22e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "telebit", - "version": "0.19.19", + "version": "0.19.20", "description": "Break out of localhost. Connect to any device from anywhere over any tcp port or securely in a browser. A secure tunnel. A poor man's reverse VPN.", "main": "lib/remote.js", "files": [