2
2
mirror of https://git.coolaj86.com/coolaj86/telebit.js.git synced 2025-03-03 15:10:45 +00:00

document my unverifiable woes

This commit is contained in:
AJ ONeal 2018-07-03 04:53:24 -06:00
parent 182045315b
commit ebe03df035

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;