hiding development block from ACP if not in dev mode

This commit is contained in:
Julian Lam
2014-01-31 12:19:30 -05:00
parent 59d1a90820
commit 748055ac52
2 changed files with 9 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ var nconf = require('nconf'),
username: userData.username,
userslug: userData.userslug,
'cache-buster': meta.config['cache-buster'] ? 'v=' + meta.config['cache-buster'] : '',
env: process.env.NODE_ENV
}));
});
});