Add cors origins setting
This commit is contained in:
parent
b3e19b3e40
commit
815a4503df
2 changed files with 2 additions and 7 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue