mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-18 16:01:55 +02:00
moved the imgur clientID to the server config file
This commit is contained in:
@@ -83,6 +83,7 @@ var async = require('async'),
|
||||
|
||||
server_conf.base_url = protocol + '//' + host;
|
||||
server_conf.relative_path = relative_path;
|
||||
server_conf.imgurClientID = '';
|
||||
|
||||
install.save(server_conf, client_conf, callback);
|
||||
});
|
||||
|
||||
@@ -322,8 +322,7 @@ var RDB = require('./redis.js'),
|
||||
user.onNewPostMade(uid, tid, pid, timestamp);
|
||||
|
||||
var imgur = require('./imgur');
|
||||
// move clientID to config
|
||||
imgur.setClientID('09f3955fee9a0a6');
|
||||
imgur.setClientID(global.nconf.get('imgurClientID'));
|
||||
|
||||
var uploadedImages = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user