added circle.yml file to specify node version
This commit is contained in:
parent
76af1c92e6
commit
dcb5e2d813
4
circle.yml
Normal file
4
circle.yml
Normal file
@ -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;
|
const id = req.params.id;
|
||||||
|
|
||||||
if (!validateID(id)) {
|
if (!validateID(id)) {
|
||||||
res.send(404);
|
res.sendStatus(404);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user