This commit is contained in:
psychobunny
2014-05-08 14:16:40 -04:00
parent 7280567d21
commit 10716c37d3
4 changed files with 10 additions and 1 deletions

View File

@@ -62,6 +62,7 @@ apiController.getConfig = function(req, res, next) {
config.postsPerPage = settings.postsPerPage;
config.notificationSounds = settings.notificationSounds;
config.defaultLang = settings.language || config.defaultLang;
config.openOutgoingLinksInNewTab = settings.openOutgoingLinksInNewTab;
if (res.locals.isAPI) {
res.json(200, config);