This commit is contained in:
Jörn-Michael Miehe 2018-12-27 03:02:21 +01:00
parent d8686c94ee
commit 00bac21837

View file

@ -14,9 +14,9 @@ FFTCGROUTER = express.Router()
# request logging # request logging
FFTCGROUTER.use (req, res, next) -> FFTCGROUTER.use (req, res, next) ->
if req.session.user if req.session.user
console.log "[FFTCG] user '#{req.session.user.login}' requested '#{req.url}'" console.log "[FFTCGROUTER] user '#{req.session.user.login}' requested '#{req.url}'"
else else
console.log "[FFTCG] requested '#{req.url}'" console.log "[FFTCGROUTER] requested '#{req.url}'"
next() next()