From 32113e874d090bdb315b912e2a926dbbd31ccd38 Mon Sep 17 00:00:00 2001 From: Ralph Krimmel Date: Thu, 28 Nov 2019 12:26:50 +0100 Subject: Making the linter happy by removing superfluous ; --- lib/errors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/errors.js b/lib/errors.js index 56fb7027..f86e8aa3 100644 --- a/lib/errors.js +++ b/lib/errors.js @@ -7,7 +7,7 @@ module.exports = { responseError(res, '403', 'Forbidden', 'oh no.') } else { if (!req.session) req.session = {} - req.session.returnTo = req.originalUrl || config.serverUrl + '/'; + req.session.returnTo = req.originalUrl || config.serverUrl + '/' req.flash('error', 'You are not allowed to access this page. Maybe try logging in?') res.redirect(config.serverURL + '/') } -- cgit v1.2.3