Node.js based forum software built for the modern web
moved the imgur clientID to the server config file
Baris Soner Usakli9f2838849ec7
diff --git a/src/install.js b/src/install.jsindex 311d3ef0a3..c9301ee8f1 100644--- a/src/install.js+++ b/src/install.js@@ -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);});diff --git a/src/posts.js b/src/posts.jsindex fb5744ee48..6ebd499197 100644--- a/src/posts.js+++ b/src/posts.js@@ -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 = [];