From bcc4b1ed7d087eff983cb51d4560f276a2b3ae58 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 4 May 2017 17:29:20 +0800 Subject: [PATCH] update --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 990c3bc..6e4fc79 100644 --- a/app.js +++ b/app.js @@ -82,7 +82,7 @@ app.get('/viewcamimg/:dir/:img', async(req, res) => { }) app.get('/servcmd', (req, res) => { - res.send({ status: `exit time ${Date.now()}` }); + res.send({ status: `exit time ${(new Date()).toString()}` }); setTimeout(() => { process.exit(1) }, 2000); });