11
This commit is contained in:
@@ -25,6 +25,9 @@ class Settings(BaseSettings):
|
||||
secret_key: str = Field(default="change-me-in-production")
|
||||
access_token_expire_minutes: int = 60 * 24 * 7
|
||||
|
||||
"""AES-256 密钥:32 字节 Base64 或 64 位十六进制;为空则关闭 API 加解密。"""
|
||||
api_aes_key: str = "98cde5e64ee0da6ed0c5842f43a950aa0d8ae5087c43c8d8ee5d10bd8d571bb4"
|
||||
|
||||
cors_origins: str = "http://localhost:1420"
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user