Fixing "process" not found on devicemgt

revert-70aa11f8
Rasika Perera 8 years ago
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…
Cancel
Save