made it possible to check if domain is handled as client
这个提交包含在:
父节点
54ca2782dd
当前提交
aff82cebe9
@ -488,8 +488,11 @@ module.exports.create = function (copts) {
|
||||
console.error('[error] tcp socket raw TODO forward and close');
|
||||
console.error(err);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
return { tcp: onTcpConnection, ws: onWsConnection };
|
||||
return {
|
||||
tcp: onTcpConnection
|
||||
, ws: onWsConnection
|
||||
, isClientDomain: Devices.exist.bind(null, deviceLists)
|
||||
};
|
||||
};
|
||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户