Skip to content

Commit

Permalink
Fix LANGUAGE_CODE environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
exalented committed Apr 4, 2024
1 parent acf11d5 commit efa3dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rustdesk_server_api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
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

Expand Down Expand Up @@ -170,4 +170,4 @@

LOCALE_PATHS = (
os.path.join(BASE_DIR, 'locale'),
)
)

0 comments on commit efa3dec

Please sign in to comment.