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); });