added circle.yml file to specify node version
This commit is contained in:
parent
76af1c92e6
commit
dcb5e2d813
|
@ -0,0 +1,4 @@
|
|||
machine:
|
||||
node:
|
||||
version: 8.0.0
|
||||
|
|
@ -89,7 +89,7 @@ app.post('/delete/:id', (req, res) => {
|
|||
const id = req.params.id;
|
||||
|
||||
if (!validateID(id)) {
|
||||
res.send(404);
|
||||
res.sendStatus(404);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue