Skip to content

Commit

Permalink
i18n: return locale on base config request
Browse files Browse the repository at this point in the history
  • Loading branch information
ololoken committed May 15, 2018
1 parent 453738d commit fcaa3ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/server/api/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function getAboutConfig() {

function getBaseConfig() {
return {
default_locale: settingsCache.get('default_locale'),
useGravatar: !config.isPrivacyDisabled('useGravatar'),
publicAPI: config.get('publicAPI') === true,
blogUrl: urlService.utils.urlFor('home', true),
Expand Down

0 comments on commit fcaa3ee

Please sign in to comment.