v0.19.20: winfixes

This commit is contained in:
AJ ONeal 2018-07-03 04:40:21 -06:00
parent 8f7ab08a99
commit 182045315b
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -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": [