diff --git a/routes/system.js b/routes/system.js index 6be0416..640a9ac 100644 --- a/routes/system.js +++ b/routes/system.js @@ -5,12 +5,14 @@ var ejs = require('ejs'); var templ = fs.readFileSync(__dirname + '/../templates/system.ejs').toString(); var cache = require('../lib/cache'); +var started = new Date(); + module.exports = system; function system(req, res) { var data = { cwd: process.cwd(), - started: new Date(Date.now() - process.uptime()), + started: started, pid: process.pid, cacheage: cache.lastcacherebuild, version: process.version