mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:23:28 +02:00
Use sendStatus instead of status where applicable.
This commit is contained in:
@@ -142,7 +142,7 @@ module.exports = function(options) {
|
||||
res.sendFile(file.path)
|
||||
}
|
||||
else {
|
||||
res.send(404)
|
||||
res.sendStatus(404)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user