Skip to content

Commit

Permalink
hotfix: login redirect url referer 기준 분기 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
egg528 committed Mar 25, 2024
1 parent bb317a1 commit 2523956
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class WebSecurityConfig(
val redirectUrl =
if (profile == "live") {
"https://bandiboodi.com/oauth2/token"
} else if (profile == "dev") {
} else if (profile == "dev" && request.getHeader("referer").contains("dev-bandiboodi.vercel.app")) {
"https://dev-bandiboodi.vercel.app/oauth2/token"
} else {
"http://localhost:3000/oauth2/token"
Expand Down

0 comments on commit 2523956

Please sign in to comment.