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)
}
})