1
0
Fork 0
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:
Simo Kinnunen 2015-04-28 21:19:28 +09:00
parent 6a733fb5bd
commit f90d1f4a4a

View file

@ -142,7 +142,7 @@ module.exports = function(options) {
res.sendFile(file.path)
}
else {
res.send(404)
res.sendStatus(404)
}
})