mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
Added warning for NodeJS <16 to upgrade to new version.
This commit is contained in:
parent
0a147a18d4
commit
d97e0b1f62
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue