update
This commit is contained in:
parent
fbab4f44e8
commit
bcc4b1ed7d
2
app.js
2
app.js
@ -82,7 +82,7 @@ app.get('/viewcamimg/:dir/:img', async(req, res) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
app.get('/servcmd', (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);
|
setTimeout(() => { process.exit(1) }, 2000);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user