mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Use sendStatus instead of status where applicable.
This commit is contained in:
parent
6a733fb5bd
commit
f90d1f4a4a
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ module.exports = function(options) {
|
|||
res.sendFile(file.path)
|
||||
}
|
||||
else {
|
||||
res.send(404)
|
||||
res.sendStatus(404)
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue