sendFile instead of sendfile

This commit is contained in:
Julian Lam
2014-10-07 01:54:16 -04:00
parent 394a01fdef
commit b481a28b6e

View File

@@ -41,7 +41,7 @@ module.exports = function(app, middleware, controllers) {
});
if (matches.length) {
res.sendfile(matches[0]);
res.sendFile(matches[0]);
} else {
res.redirect(nconf.get('relative_path') + '/404');
}