mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
using nconf to manage config file now (issue #24)
This commit is contained in:
@@ -38,7 +38,7 @@ marked.setOptions({
|
||||
post.username = userData.username || 'anonymous';
|
||||
post.userslug = userData.userslug || '';
|
||||
post.user_rep = userData.reputation || 0;
|
||||
post.picture = userData.picture || require('gravatar').url('', {}, https=global.config.https);
|
||||
post.picture = userData.picture || require('gravatar').url('', {}, https=global.nconf.get('https'));
|
||||
post.signature = marked(userData.signature || '');
|
||||
|
||||
if(post.editor !== '') {
|
||||
|
||||
Reference in New Issue
Block a user