Skip to content

Commit

Permalink
Merge pull request #50 from CAU-Capstone-FindIt/hot-fix
Browse files Browse the repository at this point in the history
FIX: 배포용카카오로그인 변경
  • Loading branch information
kimtree24 authored Dec 4, 2024
2 parents 9f9e50c + f47c9d0 commit ec55586
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/apis/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ import { createBrowserHistory } from "history";

const REST_API_KEY = process.env.REACT_APP_KAKAO_LOGIN_KEY;
const REDIRECT_URI1 = "http://localhost:3000/oauth";
const REDIRECT_URI2 =
"https://finditcau.netlify.app/oauth";
const kakao_login_uri = `https://kauth.kakao.com/oauth/authorize?client_id=${REST_API_KEY}&redirect_uri=${REDIRECT_URI1}&response_type=code`;
const REDIRECT_URI2 ="https://finditcau.netlify.app/oauth";
const kakao_login_uri = `https://kauth.kakao.com/oauth/authorize?client_id=${REST_API_KEY}&redirect_uri=${REDIRECT_URI2}&response_type=code`;

export const loginHandler = () => {
//localStorage.setItem("access", "key")
Expand Down

0 comments on commit ec55586

Please sign in to comment.