1
This commit is contained in:
@@ -43,6 +43,9 @@ CAPTCHA_ENABLED=true
|
|||||||
# CORS
|
# CORS
|
||||||
CORS_ORIGINS=["*"]
|
CORS_ORIGINS=["*"]
|
||||||
|
|
||||||
|
# Base URL (用于 favicon、回调地址等)
|
||||||
|
BASE_URL=https://ceshi.apiforeign.minzhongzc.com
|
||||||
|
|
||||||
# RESOURCE
|
# RESOURCE
|
||||||
RESOURCE_SIGN_SECRET=EOTpDZsEgkaYWPxgtIedOO0lDlH1moTS2rnSIemjzmO3
|
RESOURCE_SIGN_SECRET=EOTpDZsEgkaYWPxgtIedOO0lDlH1moTS2rnSIemjzmO3
|
||||||
RESOURCE_SIGN_EXPIRE_SECONDS=86400
|
RESOURCE_SIGN_EXPIRE_SECONDS=86400
|
||||||
|
|||||||
@@ -39,3 +39,6 @@ CAPTCHA_ENABLED=true
|
|||||||
|
|
||||||
# CORS
|
# CORS
|
||||||
CORS_ORIGINS=["http://localhost:5173", "http://localhost:3000"]
|
CORS_ORIGINS=["http://localhost:5173", "http://localhost:3000"]
|
||||||
|
|
||||||
|
# Base URL (用于 favicon、回调地址等)
|
||||||
|
BASE_URL=https://your-domain.com
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ class Settings(BaseSettings):
|
|||||||
|
|
||||||
CAPTCHA_ENABLED: bool = True
|
CAPTCHA_ENABLED: bool = True
|
||||||
|
|
||||||
BASE_URL: str = "https://ceshi.apiforeign.minzhongzc.com"
|
BASE_URL: str = ""
|
||||||
|
|
||||||
CORS_ORIGINS: list[str] = ["*"]
|
CORS_ORIGINS: list[str] = ["*"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user