mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
More work on web based SSH support.
This commit is contained in:
parent
87dc3c354d
commit
abbb6be431
4 changed files with 132 additions and 124 deletions
|
@ -5576,7 +5576,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||
}
|
||||
|
||||
// Setup SSH if needed
|
||||
if (domain.mstsc === true) {
|
||||
if (domain.ssh === true) {
|
||||
obj.app.get(url + 'ssh.html', function (req, res) { handleMSTSCRequest(req, res, 'ssh'); });
|
||||
obj.app.ws(url + 'ssh/relay.ashx', function (ws, req) {
|
||||
const domain = getDomain(req);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue