don't need to refresh to preview updated skin #3069

This commit is contained in:
psychobunny
2015-08-17 16:11:26 -04:00
parent 9f97e8fa0c
commit 5b1571ad1e
2 changed files with 8 additions and 0 deletions

View File

@@ -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;