Skip to content

Commit

Permalink
chore: jwt 관련 상수 application.yml에 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
whereami2048 committed May 7, 2024
1 parent 0a1c4ba commit 62310e1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Api-Module/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,10 @@ spring:
open-in-view: false
hibernate:
ddl-auto: update
database-platform: org.hibernate.dialect.MySQLDialect
database-platform: org.hibernate.dialect.MySQLDialect

jwt:
secret: ${JWT_SECRET}
access-token-expiration-time: 3600000 # 60*60*1000 = 1시간
refresh-token-expiration-time: 604800000 # 7*24*60*60*1000 = 7일
registration-token-expiration-time: 1000

0 comments on commit 62310e1

Please sign in to comment.