mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
don't need to refresh to preview updated skin #3069
This commit is contained in:
@@ -63,6 +63,7 @@ apiController.getConfig = function(req, res, next) {
|
||||
config.postsPerPage = meta.config.postsPerPage || 20;
|
||||
config.maximumFileSize = meta.config.maximumFileSize;
|
||||
config['theme:id'] = meta.config['theme:id'];
|
||||
config['theme:src'] = meta.config['theme:src'];
|
||||
config.defaultLang = meta.config.defaultLang || 'en_GB';
|
||||
config.userLang = req.query.lang || config.defaultLang;
|
||||
config.environment = process.env.NODE_ENV;
|
||||
|
||||
Reference in New Issue
Block a user