Skip to content

Commit

Permalink
chore: edit CORS policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Makcal committed Jul 5, 2024
1 parent ff90881 commit 3893c82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/config_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ class Settings(BaseModel):
# Security
cors_allow_origins: list[str] = Field(
default_factory=lambda: [
"https://innohassle.ru",
"http://localhost:3000",
"http://localhost",
],
description="CORS origins, used by FastAPI CORSMiddleware",
)
Expand Down

0 comments on commit 3893c82

Please sign in to comment.