mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
disable compression by default and dont compress webrelays #4369
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
@@ -23,7 +23,6 @@ module.exports.CreateWebRelayServer = function (parent, db, args, certificates,
|
||||
obj.tlsServer = null;
|
||||
obj.net = require('net');
|
||||
obj.app = obj.express();
|
||||
if (args.compression !== false) { obj.app.use(require('compression')()); }
|
||||
obj.app.disable('x-powered-by');
|
||||
obj.webRelayServer = null;
|
||||
obj.port = 0;
|
||||
|
||||
Reference in New Issue
Block a user