mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
fixed #907
This commit is contained in:
@@ -49,10 +49,10 @@ if(nconf.get('ssl')) {
|
||||
meta.sounds.init();
|
||||
});
|
||||
|
||||
async.series({
|
||||
async.parallel({
|
||||
themesData: meta.themes.get,
|
||||
currentThemeData: function(next) {
|
||||
db.getObjectFields('config', ['theme:type', 'theme:id', 'theme:staticDir', 'theme:templates'], next);
|
||||
currentThemeId: function(next) {
|
||||
db.getObjectField('config', 'theme:id', next);
|
||||
}
|
||||
}, function(err, data) {
|
||||
middleware = middleware(app, data);
|
||||
|
||||
Reference in New Issue
Block a user