fix
This commit is contained in:
@ -35,7 +35,13 @@ class Settings(BaseSettings):
|
||||
max_unique_cards: int = 1000 # Maximum number of unique cards
|
||||
|
||||
# CORS
|
||||
cors_origins: list[str] = ["http://localhost:3000", "https://card.syui.ai"]
|
||||
cors_origins: list[str] = [
|
||||
"http://localhost:3000",
|
||||
"http://localhost:5173",
|
||||
"http://localhost:4173",
|
||||
"https://card.syui.ai",
|
||||
"https://xxxcard.syui.ai"
|
||||
]
|
||||
|
||||
# Security
|
||||
secret_key: str = "your-secret-key-change-this-in-production"
|
||||
|
Reference in New Issue
Block a user