Node.js based forum software built for the modern web
closed #1267
barisusakli48ed54080127
diff --git a/src/controllers/static.js b/src/controllers/static.jsindex 0fa71f12a7..8924ffaf6d 100644--- a/src/controllers/static.js+++ b/src/controllers/static.js@@ -3,15 +3,15 @@var staticController = {};staticController['404'] = function(req, res, next) {- res.render('404', {});+ res.status(404).render('404', {});};staticController['403'] = function(req, res, next) {- res.render('403', {});+ res.status(403).render('403', {});};staticController['500'] = function(req, res, next) {- res.render('500', {});+ res.status(500).render('500', {});};module.exports = staticController;\ No newline at end of file