document my unverifiable woes

This commit is contained in:
AJ ONeal 2018-07-03 04:53:24 -06:00
parent 182045315b
commit ebe03df035
1 changed files with 1 additions and 0 deletions

View File

@ -581,6 +581,7 @@ function serveControlsHelper() {
}
// https://nodejs.org/api/net.html#net_server_listen_options_callback
// path is ignore if port is defined
// https://git.coolaj86.com/coolaj86/telebit.js/issues/23#issuecomment-326
if (state._ipc.port) {
serverOpts.host = 'localhost';
serverOpts.port = state._ipc.port;