mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
remove console.log
This commit is contained in:
@@ -91,7 +91,6 @@ if (IS_PROD && IS_NEW_CLIENT_ENABLED) {
|
|||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: /^\/new-app($|\/(?!(static\/.?|static$)))/,
|
url: /^\/new-app($|\/(?!(static\/.?|static$)))/,
|
||||||
async handler (req, res) {
|
async handler (req, res) {
|
||||||
console.log(req.session, req.session.userId)
|
|
||||||
if (!(req.session && req.session.userId)) {
|
if (!(req.session && req.session.userId)) {
|
||||||
return res.redirect('/static/front');
|
return res.redirect('/static/front');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user