Add cors origins setting
Some checks failed
/ build (push) Failing after 14s
/ test (push) Successful in 5s

This commit is contained in:
phil 2025-01-31 00:12:50 +01:00
parent b3e19b3e40
commit 815a4503df
2 changed files with 2 additions and 7 deletions

View file

@ -113,6 +113,7 @@ class Settings(BaseSettings):
secret_key: str = "".join(random.choice(string.ascii_letters) for _ in range(16))
log: bool = False
insecure: Insecure = Insecure()
cors_origins: list[str] = []
@classmethod
def settings_customise_sources(