Revert "PLT-1800 Load server side locale from the config.json" (#3133)

Этот коммит содержится в:
Christopher Speller
2016-05-27 09:01:35 -04:00
родитель a2c183f401
Коммит ec7a273550
24 изменённых файлов: 66 добавлений и 396 удалений

Просмотреть файл

@@ -246,8 +246,7 @@ func getClientConfig(c *model.Config) map[string]string {
props["WebsocketPort"] = fmt.Sprintf("%v", *c.ServiceSettings.WebsocketPort)
props["WebsocketSecurePort"] = fmt.Sprintf("%v", *c.ServiceSettings.WebsocketSecurePort)
props["DefaultClientLocale"] = *c.LocalizationSettings.DefaultClientLocale
props["AvailableLocales"] = *c.LocalizationSettings.AvailableLocales
props["AllowCorsFrom"] = *c.ServiceSettings.AllowCorsFrom
if IsLicensed {
if *License.Features.CustomBrand {