mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
added circle.yml file to specify node version
This commit is contained in:
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user