remove old comment

This commit is contained in:
Matteo Pagliazzi 2013-09-07 10:37:47 +02:00
parent f1dc9e7f90
commit 4e10fc65cf

View file

@ -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')
});