Skip to content

Commit

Permalink
feat: use env varible
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunawood committed Dec 5, 2024
1 parent c749091 commit 7166809
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Service
public class JwtTokenService {

private String secret = "hjkdasfh;jnkladfsjkl;dasfnkl;asdfjkl;asdfjkl;";
private String secret = System.getenv("JWT_SECRET_KEY");

private int accessTokenExpMinutes = 600 * 1000; // 10분

Expand Down

0 comments on commit 7166809

Please sign in to comment.