v1.18.x
Julian Lam 10 years ago
parent fdf06c0500
commit 3ad509b93a

@ -27,7 +27,7 @@ middleware.isAdmin = function(req, res, next) {
} }
if (!isAdmin) { if (!isAdmin) {
res.status(403).redirect('/403'); res.status(403).redirect(nconf.get('relative_path') + '/403');
} else { } else {
next(); next();
} }

Loading…
Cancel
Save