refactor: extract cors configs into dify config and cleanup the config class (#5507)
Co-authored-by: takatost <takatost@gmail.com>
This commit is contained in:
parent
ec1d3ddee2
commit
2a0f03a511
8 changed files with 51 additions and 55 deletions
|
|
@ -5,6 +5,16 @@ class DeploymentConfig(BaseModel):
|
|||
"""
|
||||
Deployment configs
|
||||
"""
|
||||
APPLICATION_NAME: str = Field(
|
||||
description='application name',
|
||||
default='langgenius/dify',
|
||||
)
|
||||
|
||||
TESTING: bool = Field(
|
||||
description='',
|
||||
default=False,
|
||||
)
|
||||
|
||||
EDITION: str = Field(
|
||||
description='deployment edition',
|
||||
default='SELF_HOSTED',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue