Skip to content

Commit

Permalink
env文件忽略
Browse files Browse the repository at this point in the history
  • Loading branch information
Scorpion1221 committed Jul 1, 2024
1 parent 9877bba commit 6974ca1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/configs/app_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class DifyConfig(
# read from dotenv format config file
env_file='.env',
env_file_encoding='utf-8',
env_ignore_empty=True,

# ignore extra attributes
extra='ignore',
Expand Down

0 comments on commit 6974ca1

Please sign in to comment.