mirror of
https://github.com/kingmo888/rustdesk-api-server.git
synced 2026-02-21 18:37:23 +08:00
Merge pull request #62 from exalented/master
Fix LANGUAGE_CODE environment variable
This commit is contained in:
commit
53068fd8de
@ -43,7 +43,7 @@ MYSQL_PASSWORD = os.environ.get("MYSQL_PASSWORD", '-')
|
||||
MYSQL_PORT = os.environ.get("MYSQL_PORT", '3306')
|
||||
#==========数据库配置 结束=====================
|
||||
|
||||
LANGUAGE_CODE = os.environ.get("MYSQL_PORT", 'zh-hans')
|
||||
LANGUAGE_CODE = os.environ.get("LANGUAGE_CODE", 'zh-hans')
|
||||
|
||||
# Application definition
|
||||
|
||||
@ -170,4 +170,4 @@ LANGUAGES = (
|
||||
|
||||
LOCALE_PATHS = (
|
||||
os.path.join(BASE_DIR, 'locale'),
|
||||
)
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user