mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:25:53 -05:00
Fix pluginHandler access
This commit is contained in:
parent
a8f89e1068
commit
d698760d30
@ -6341,8 +6341,8 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Setup all HTTP handlers
|
// Setup all HTTP handlers
|
||||||
if (parent.parent.pluginHandler != null) {
|
if (parent.pluginHandler != null) {
|
||||||
parent.parent.pluginHandler.callHook('hook_setupHttpHandlers', obj, parent);
|
parent.pluginHandler.callHook('hook_setupHttpHandlers', obj, parent);
|
||||||
}
|
}
|
||||||
if (parent.multiServer != null) { obj.app.ws('/meshserver.ashx', function (ws, req) { parent.multiServer.CreatePeerInServer(parent.multiServer, ws, req, obj.args.tlsoffload == null); }); }
|
if (parent.multiServer != null) { obj.app.ws('/meshserver.ashx', function (ws, req) { parent.multiServer.CreatePeerInServer(parent.multiServer, ws, req, obj.args.tlsoffload == null); }); }
|
||||||
for (var i in parent.config.domains) {
|
for (var i in parent.config.domains) {
|
||||||
|
Loading…
Reference in New Issue
Block a user