mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-04 21:26:37 +00:00
remove old comment
This commit is contained in:
parent
f1dc9e7f90
commit
4e10fc65cf
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ module.exports.cors = function(req, res, next) {
|
|||
module.exports.locals = function(req, res, next) {
|
||||
res.locals.habitrpg = res.locals.habitrpg || {}
|
||||
_.defaults(res.locals.habitrpg, {
|
||||
NODE_ENV: nconf.get('NODE_ENV'), // Don't show debugging options on static pages
|
||||
NODE_ENV: nconf.get('NODE_ENV'),
|
||||
IS_MOBILE: /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(req.header('User-Agent')),
|
||||
STRIPE_PUB_KEY: nconf.get('STRIPE_PUB_KEY')
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue