mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix(api/configs): Ignore empty environment variables when loading config. (#5647)
This commit is contained in:
parent
0dfdb61ee9
commit
17d2f0bb0d
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user