Added env variable to set the default language (#2147)

This commit is contained in:
Ahmad Farhat
2020-10-02 09:50:24 -04:00
committed by GitHub
parent 165eeccb23
commit 07557f45dc
3 changed files with 13 additions and 1 deletions

View File

@ -131,6 +131,9 @@ module Greenlight
# File types allowed in preupload presentation
config.allowed_file_types = ".doc,.docx,.ppt,.pptx,.pdf,.xls,.xlsx,.txt,.rtf,.odt,.ods,.odp,.odg,.odc,.odi,.jpg,.jpeg,.png"
# Default locale
config.default_locale = ENV["DEFAULT_LOCALE"]
# DEFAULTS
# Default branding image if the user does not specify one