Skip to content

Commit

Permalink
Update ngrok.js
Browse files Browse the repository at this point in the history
Fix: for sammachin#39 issue
  • Loading branch information
Shpionus authored Mar 5, 2024
1 parent 68874c9 commit ed48530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ngrok.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ module.exports = function (RED) {
node.status({fill: 'red', shape: 'dot', text: 'error'});
return;
}
//domain (node property is subdomain for backwards compatibility)
_domain = RED.util.evaluateNodeProperty(node.subdomain, node.subdomainType, node, msg);
if (String(_proto) != 'tcp') {
//binding
if (bind_tls_types.indexOf(node.bind_tlsType) >= 0) {
_bind_tls = node.bind_tlsType;
} else {
_bind_tls = RED.util.evaluateNodeProperty(node.bind_tls, node.bind_tlsType, node, msg);
}
//domain (node property is subdomain for backwards compatibility)
_domain = RED.util.evaluateNodeProperty(node.subdomain, node.subdomainType, node, msg);
//auth
if (node.authType == 'none') {
_auth = null;
Expand Down

0 comments on commit ed48530

Please sign in to comment.