Skip to content

Commit

Permalink
chore: 이메일 인증 링크 origin 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogu1208 committed Oct 28, 2024
1 parent 0872b24 commit 27398f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public ResponseEntity<String> verifyEmail(@RequestParam("token") String token) {
if (isVerified) {
// 인증 성공 시 토큰을 포함한 URL로 리다이렉트
HttpHeaders headers = new HttpHeaders();
String redirectUrl = "http://localhost:3000/email/verifyToken?token=" + token;
String redirectUrl = "https://chekirout.pages.dev/email/verifyToken?token=" + token;
headers.setLocation(URI.create(redirectUrl));
return new ResponseEntity<>(headers, HttpStatus.FOUND); // 302 리다이렉트
} else {
Expand Down

0 comments on commit 27398f9

Please sign in to comment.