allow all origins for cors
This commit is contained in:
parent
a9210ca8ed
commit
152286eb92
@ -8,7 +8,7 @@ class Settings(BaseSettings):
|
||||
VERSION: str = "0.1.0"
|
||||
|
||||
# CORS Configuration
|
||||
BACKEND_CORS_ORIGINS: list[str | AnyHttpUrl] = []
|
||||
BACKEND_CORS_ORIGINS: list[str | AnyHttpUrl] = ['*']
|
||||
|
||||
@validator("BACKEND_CORS_ORIGINS", pre=True)
|
||||
def assemble_cors_origins(self, v: str | list[str]) -> list[str] | str:
|
||||
|
Loading…
x
Reference in New Issue
Block a user