mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
UI customization improvements.
This commit is contained in:
parent
6bdc57b79a
commit
98b39000eb
11 changed files with 72 additions and 39 deletions
|
@ -75,7 +75,7 @@ module.exports.CreateRedirServer = function (parent, db, args, func) {
|
|||
parent.letsencrypt.challenge(req.url.slice(leChallengePrefix.length), getCleanHostname(req), function (response) { if (response == null) { res.sendStatus(404); } else { res.send(response); } });
|
||||
} else {
|
||||
// Everything else
|
||||
var selfurl = ((args.notls !== true) ? (' wss://' + req.headers.host) : (' ws://' + req.headers.host));
|
||||
var selfurl = (' wss://' + req.headers.host);
|
||||
res.set({
|
||||
'strict-transport-security': 'max-age=60000; includeSubDomains',
|
||||
'Referrer-Policy': 'no-referrer',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue