web: add default language variable
This commit is contained in:
@@ -33,6 +33,7 @@ services:
|
|||||||
- CHROME_EXTENSION_BANNER_JSON
|
- CHROME_EXTENSION_BANNER_JSON
|
||||||
- CONFCODE_URL
|
- CONFCODE_URL
|
||||||
- CONFIG_EXTERNAL_CONNECT
|
- CONFIG_EXTERNAL_CONNECT
|
||||||
|
- DEFAULT_LANGUAGE
|
||||||
- DEPLOYMENTINFO_ENVIRONMENT
|
- DEPLOYMENTINFO_ENVIRONMENT
|
||||||
- DEPLOYMENTINFO_ENVIRONMENT_TYPE
|
- DEPLOYMENTINFO_ENVIRONMENT_TYPE
|
||||||
- DEPLOYMENTINFO_REGION
|
- DEPLOYMENTINFO_REGION
|
||||||
|
|||||||
@@ -246,6 +246,11 @@ config.enableWelcomePage = {{ $ENABLE_WELCOME_PAGE }};
|
|||||||
// Close page.
|
// Close page.
|
||||||
config.enableClosePage = {{ $ENABLE_CLOSE_PAGE }};
|
config.enableClosePage = {{ $ENABLE_CLOSE_PAGE }};
|
||||||
|
|
||||||
|
// Default language.
|
||||||
|
{{ if .Env.DEFAULT_LANGUAGE -}}
|
||||||
|
config.defaultLanguage = '{{ .Env.DEFAULT_LANGUAGE }}';
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
// Require users to always specify a display name.
|
// Require users to always specify a display name.
|
||||||
config.requireDisplayName = {{ $ENABLE_REQUIRE_DISPLAY_NAME }};
|
config.requireDisplayName = {{ $ENABLE_REQUIRE_DISPLAY_NAME }};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user