Skip to content

Commit

Permalink
240605 lej : Login componenet
Browse files Browse the repository at this point in the history
  • Loading branch information
Olrlokr committed Jun 5, 2024
1 parent 9faf9df commit ad374ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import React from 'react'

export default function Login() {

const REST_API_KEY = '20483329cf0b7ad5c283f195f697d397';
const REDIRECT_URI = 'http://woravel.com/login/callback';
const link = 'https://kauth.kakao.com/oauth/authorize?client_id=${REST_API_KEY}&redirect_uri=${REDIRECT_URI}&response_type=code';
// const REST_API_KEY = '20483329cf0b7ad5c283f195f697d397';
// const REDIRECT_URI = 'http://woravel.com/login/callback';
// const link = 'https://kauth.kakao.com/oauth/authorize?client_id=${REST_API_KEY}&redirect_uri=${REDIRECT_URI}&response_type=code';

const loginHandler =()=> {
window.location.href = link;
// window.location.href = link;
}


Expand Down

0 comments on commit ad374ad

Please sign in to comment.