Skip to content

Commit

Permalink
Merge pull request #807 from hotosm/feat-updateSchemas
Browse files Browse the repository at this point in the history
fix: cors origin error
  • Loading branch information
nrjadkry authored Sep 7, 2023
2 parents 8d696be + ec5469a commit f097320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Settings(BaseSettings):
FRONTEND_MAIN_URL: Optional[str]
FRONTEND_MAP_URL: Optional[str]

EXTRA_CORS_ORIGINS: Optional[Union[str, list[AnyUrl]]] = []
EXTRA_CORS_ORIGINS: Optional[Union[str, list[str]]] = []

@field_validator("EXTRA_CORS_ORIGINS", mode="before")
@classmethod
Expand Down

0 comments on commit f097320

Please sign in to comment.