mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-26 16:06:33 +03:00
Added warning for NodeJS <16 to upgrade to new version.
This commit is contained in:
parent
0a147a18d4
commit
d97e0b1f62
@ -1231,6 +1231,9 @@ function CreateMeshCentralServer(config, args) {
|
||||
obj.StartEx1b = async function () {
|
||||
var i;
|
||||
|
||||
// Add NodeJS version warning if needed
|
||||
if (Number(process.version.match(/^v(\d+\.\d+)/)[1]) < 16) { addServerWarning("MeshCentral will require Node v16 or above in the future, your current version is " + process.version + "."); }
|
||||
|
||||
// Setup certificate operations
|
||||
obj.certificateOperations = require('./certoperations.js').CertificateOperations(obj);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user