sendFile instead of sendfile

v1.18.x
Julian Lam 11 years ago
parent 394a01fdef
commit b481a28b6e

@ -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');
}

Loading…
Cancel
Save