Skip to content

Commit

Permalink
[fix] 배포 스크립트 수정 및 jwt 토큰시간 yml로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
MinchoGreenT committed Aug 18, 2024
1 parent e217668 commit 35d5cdd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cicd for development

on:
push:
branches: [ "dev", "fix_82/클라우드-이전" ]
branches: [ "dev" ]

jobs:
build:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ public class JwtTokenProvider {
@Value("${jwt.secret}")
private String secretKey;

@Value("${jwt.expireAccessToken}")
private long accessTokenTime;

private final long accessTokenTime = 60L * 1000 * 10000000;
private final long refreshTokenTime = 180L * 1000 * 1000000000;
@Value("${jwt.expireRefreshToken}")
private long refreshTokenTime;


@PostConstruct
Expand Down

0 comments on commit 35d5cdd

Please sign in to comment.