Skip to content

Commit

Permalink
Merge pull request #131 from kucc/exp
Browse files Browse the repository at this point in the history
hotfix: token 만료시간 수정
  • Loading branch information
smreosms13 authored Dec 30, 2024
2 parents 39d75a2 + 11b4a84 commit f28c37e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class Settings(BaseSettings):
# 공통 설정
JWT_SECRET_KEY: str = os.getenv("JWT_SECRET_KEY")
JWT_ALGORITHM: str = os.getenv("JWT_ALGORITHM", "HS256")
JWT_ACCESS_EXPIRATION_TIME_MINUTES: int = int(os.getenv("JWT_ACCESS_EXPIRATION_TIME_MINUTES", 2))
JWT_REFRESH_EXPIRATION_TIME_MINUTES: int = int(os.getenv("JWT_REFRESH_EXPIRATION_TIME_MINUTES", 15))
JWT_ACCESS_EXPIRATION_TIME_MINUTES: int = int(os.getenv("JWT_ACCESS_EXPIRATION_TIME_MINUTES", 15))
JWT_REFRESH_EXPIRATION_TIME_MINUTES: int = int(os.getenv("JWT_REFRESH_EXPIRATION_TIME_MINUTES", 60))

APP_TITLE: str = "Library Management System"
APP_DESCRIPTION: str = "API for managing library resources"
Expand Down

0 comments on commit f28c37e

Please sign in to comment.