mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
17 lines
320 B
JavaScript
17 lines
320 B
JavaScript
"use strict";
|
|
|
|
var staticController = {};
|
|
|
|
staticController['404'] = function(req, res, next) {
|
|
res.render('404', {});
|
|
};
|
|
|
|
staticController['403'] = function(req, res, next) {
|
|
res.render('403', {});
|
|
};
|
|
|
|
staticController['500'] = function(req, res, next) {
|
|
res.render('500', {});
|
|
};
|
|
|
|
module.exports = staticController; |