Skip to content

Commit

Permalink
Merge pull request #98 from Guzzing/dev
Browse files Browse the repository at this point in the history
feat: 로그인 리다이렉트 url수정 (#97)
  • Loading branch information
HeeSeok-kim authored Nov 6, 2023
2 parents 7eafb43 + adaa8e9 commit 7e16c73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libs/api/autorization/LoginApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const pushData = () => {
const data = new URLSearchParams()
data.append('grant_type', 'authorization_code')
data.append('client_id', VITE_CLIENT_ID)
data.append('redirect_uri', 'http://localhost:5173/login')
data.append('redirect_uri', 'https://www.studay.me')
data.append('code', getCode())
data.append('client_secret', VITE_CLIENT_SECRET)

Expand Down
2 changes: 1 addition & 1 deletion src/pages/login/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const LoginPage = () => {
buttonType={'Round-blue-500'}
width={'LW'}
onClick={() => {
window.location.href = `https://kauth.kakao.com/oauth/authorize?client_id=${VITE_CLIENT_ID}&redirect_uri=http://localhost:5173/login&response_type=code`
window.location.href = `https://kauth.kakao.com/oauth/authorize?client_id=${VITE_CLIENT_ID}&redirect_uri=https://www.studay.me/&response_type=code`
}}
/>
<Button
Expand Down

0 comments on commit 7e16c73

Please sign in to comment.