mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-21 19:24:15 +00:00
chore(logging): remove console.log(isStaticPage)
This commit is contained in:
parent
66c7f48e2b
commit
f7ded9d690
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ module.exports.locals = function(req, res, next) {
|
|||
if(err) return res.json(500, {err: err});
|
||||
|
||||
var isStaticPage = req.url.split('/')[1] === 'static'; // If url contains '/static/'
|
||||
console.log(isStaticPage)
|
||||
//console.log(isStaticPage)
|
||||
|
||||
// Load moment.js language file only when not on static pages
|
||||
language.momentLang = ((!isStaticPage && momentLangs[language.code])|| undefined);
|
||||
|
|
|
|||
Loading…
Reference in a new issue