mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
hiding development block from ACP if not in dev mode
This commit is contained in:
@@ -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
|
||||
}));
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user