mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Peering fixes, 404 page, new desktop special keys.
This commit is contained in:
parent
28fd7c4907
commit
043a7c0b68
11 changed files with 260 additions and 31 deletions
|
@ -86,8 +86,15 @@ module.exports.CreateRedirServer = function (parent, db, args, func) {
|
|||
obj.app.post(url + "amtevents.ashx", obj.parent.webserver.handleAmtEventRequest);
|
||||
obj.app.get(url + "meshsettings", obj.parent.webserver.handleMeshSettingsRequest);
|
||||
obj.app.get(url + "meshagents", obj.parent.webserver.handleMeshAgentRequest);
|
||||
|
||||
// Server redirects
|
||||
if (parent.config.domains[i].redirects) {
|
||||
for (var j in parent.config.domains[i].redirects) {
|
||||
if (j[0] != '_') { obj.app.get(url + j, obj.parent.webserver.handleDomainRedirect); }
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// Setup all HTTP redirection handlers
|
||||
//obj.app.set("etag", false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue