feat: 跨域设置
This commit is contained in:
@@ -9,6 +9,7 @@ class EnvSettings(BaseSettings):
|
||||
llm_key_deepseek: str = Field(..., env="LLM_KEY_DEEPSEEK")
|
||||
|
||||
server_port: int = Field(..., env="SERVER_PORT")
|
||||
server_enable_cors: bool = Field(..., env="SERVER_ENABLE_CORS")
|
||||
|
||||
class Config:
|
||||
env_file = ".env"
|
||||
|
||||
Reference in New Issue
Block a user