Skip to content

Commit

Permalink
fix: cors origin error
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjadkry committed Sep 7, 2023
1 parent b44be94 commit ec5469a
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 ec5469a

Please sign in to comment.