mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-16 04:23:12 +01:00
sendFile instead of sendfile
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user