mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 09:36:16 +01:00
Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts: public/templates/admin/themes.tpl src/meta.js src/routes/api.js
This commit is contained in:
@@ -30,6 +30,7 @@ apiController.getConfig = function(req, res, next) {
|
||||
config.topicsPerPage = meta.config.topicsPerPage || 20;
|
||||
config.postsPerPage = meta.config.postsPerPage || 20;
|
||||
config.maximumFileSize = meta.config.maximumFileSize;
|
||||
config['theme:id'] = meta.config['theme:id'];
|
||||
config.defaultLang = meta.config.defaultLang || 'en_GB';
|
||||
config.environment = process.env.NODE_ENV;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user