Skip to content

Commit f0465df

Browse files
authored
Merge pull request #93 from mash-up-kr/main
fix: jwt시크릿 이름 수정 및 기간 수정 (#92)
2 parents ce703c3 + 8c40056 commit f0465df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/auth/auth.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class AuthService {
2020
private async issueAccessToken(payload: JwtPayload) {
2121
return await this.jwtModule.signAsync(payload, {
2222
secret: process.env.JWT_SECRET ?? '',
23-
expiresIn: process.env.JWT_EXPIRES_IN ?? '6h',
23+
expiresIn: process.env.JWT_EXPIRE ?? '2y',
2424
});
2525
}
2626

0 commit comments

Comments
 (0)