Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Backend
RUN_ENV=local
BACKEND_CORS_ORIGINS=[http://localhost]
BACKEND_CORS_ORIGINS=["http://localhost"]
PROJECT_NAME="fast-api-template"
SERVER_NAME=localhost
SERVER_HOST=http://localhost:8000/
Expand Down
2 changes: 1 addition & 1 deletion app/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Settings(BaseSettings):
SECRET_KEY: str = secrets.token_urlsafe(32)
SERVER_NAME: str
SERVER_HOST: AnyHttpUrl
BACKEND_CORS_ORIGINS: Union[str, List[str]] = []
BACKEND_CORS_ORIGINS: Union[List[str], str] = []
PROJECT_NAME: str
AUTHENTICATION_API_RATE_LIMIT: str = "5 per minute"
SECURE_COOKIE: bool = True
Expand Down