mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-13 07:11:34 -05:00
Server improvements, first Intel AMT CCM activation.
This commit is contained in:
@@ -702,7 +702,7 @@ function CreateMeshCentralServer(config, args) {
|
||||
var i;
|
||||
|
||||
// If the certificate is un-configured, force LAN-only mode
|
||||
if (obj.certificates.CommonName == 'un-configured') { /*console.log('Server name not configured, running in LAN-only mode.');*/ obj.args.lanonly = true; }
|
||||
if (obj.certificates.CommonName.indexOf('.') == -1) { /*console.log('Server name not configured, running in LAN-only mode.');*/ obj.args.lanonly = true; }
|
||||
|
||||
// Write server version and run mode
|
||||
var productionMode = (process.env.NODE_ENV && (process.env.NODE_ENV == 'production'));
|
||||
|
||||
Reference in New Issue
Block a user