Skip to content

Commit ef5e362

Browse files
committed
.env setup
1 parent fb69679 commit ef5e362

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/core/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ class Settings(BaseSettings):
55
"""Application settings."""
66

77
PROJECT_NAME: str = "Hero API"
8-
DATABASE_URL: str = "postgresql+asyncpg://postgres:postgres@localhost:5432/heroes"
8+
DATABASE_URL: str
99
DEBUG: bool = True
1010

1111
# JWT Settings
12-
JWT_SECRET: str = "your-secret-key" # Change in production
12+
JWT_SECRET: str # Change in production
1313
JWT_ALGORITHM: str = "HS256"
1414
JWT_EXPIRATION: int = 30 # minutes
1515

0 commit comments

Comments
 (0)