mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed web relay when used with local device group.
This commit is contained in:
parent
aa42b9e7f5
commit
0c2c55726e
3 changed files with 11 additions and 8 deletions
|
@ -259,7 +259,7 @@ module.exports.CreateWebRelayServer = function (parent, db, args, certificates,
|
|||
if (xrelaySession != null) { xrelaySession.close(); delete relaySessions[webSessionId]; }
|
||||
|
||||
// Create a web relay session
|
||||
const relaySession = require('./apprelays.js').CreateWebRelaySession(obj, db, req, args, domain, userid, nodeid, addr, port, appid, webSessionId, expire);
|
||||
const relaySession = require('./apprelays.js').CreateWebRelaySession(obj, db, req, args, domain, userid, nodeid, addr, port, appid, webSessionId, expire, node.mtype);
|
||||
relaySession.xpublicid = publicid;
|
||||
relaySession.onclose = function (sessionId) {
|
||||
// Remove the relay session
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue