Skip to content

Commit adce0f1

Browse files
committed
added version info to status
1 parent 14579e9 commit adce0f1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

server.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@ function getStatus()
2929
var retVal = {}
3030

3131
retVal["success"] = true;
32+
retVal["version"] = XRegExp.version;
3233
retVal["__filename"] = __filename;
3334
retVal["os.hostname"] = os.hostname();
3435
retVal["os.type"] = os.type();
3536
retVal["timestamp"] = new Date().getTime();
36-
//retVal["os.platform"] = os.platform();
37-
/*retVal["os.arch"] = os.arch();
37+
retVal["os.platform"] = os.platform();
38+
retVal["os.arch"] = os.arch();
3839
retVal["os.release"] = os.release();
39-
retVal["os.uptime"] = os.uptime();
40+
/*retVal["os.uptime"] = os.uptime();
4041
retVal["os.loadavg"] = os.loadavg();
4142
retVal["os.totalmem"] = os.totalmem();
4243
retVal["os.freemem"] = os.freemem();

0 commit comments

Comments
 (0)