mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing "process" not found on devicemgt
This commit is contained in:
parent
b39caade98
commit
fb1f7771c4
@ -360,7 +360,8 @@ var utils = {};
|
||||
if (updateCache) {
|
||||
appConfFile.open("r");
|
||||
var content = appConfFile.readAll();
|
||||
var getProperty = require("process").getProperty;
|
||||
var process = require("process");
|
||||
var getProperty = process.getProperty;
|
||||
content = content.replace(/\$\{server\.ip}/g, getProperty("carbon.local.ip"));
|
||||
content = content.replace(/\$\{server\.http_port}/g, getProperty("carbon.http.port"));
|
||||
content = content.replace(/\$\{server\.https_port}/g, getProperty("carbon.https.port"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user