Skip to content

Commit

Permalink
Merge pull request #263 from SOPT-all/fix/#262/url
Browse files Browse the repository at this point in the history
fix: ์ˆ˜์ • (#262)
  • Loading branch information
rtttr1 authored Jan 23, 2025
2 parents d837d46 + 91a6669 commit 2befd23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const LoginCallback = () => {
const { mutate: login } = useLoginMutation();

useEffect(() => {
if (code) login({ redirectUrl: 'https://www.da-sh.kr/auth', code });
if (code) login({ redirectUrl: 'https://da-sh.kr/auth', code });
}, [code]);

// ์ž ์‹œ ์ธ๊ฐ€ ์ฝ”๋“œ๋งŒ ์ถ”์ถœํ•ด์„œ api๋ฅผ ๋ณด๋‚ด๋Š” ํŽ˜์ด์ง€์ด๊ธฐ ๋•Œ๋ฌธ์— null ๊ฐ’ ๋ฐ˜ํ™˜
Expand Down
2 changes: 1 addition & 1 deletion src/pages/login/components/KakaoButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Head from '@/components/Head';
import { IcKakaoKakaobrown28 } from '@/assets/svg';

const KakaoButton = () => {
const redirect_uri = 'https://www.da-sh.kr/auth'; //Redirect URI
const redirect_uri = 'https://da-sh.kr/auth'; //Redirect URI

// auth ์š”์ฒญ URL
const kakaoURL = `https://kauth.kakao.com/oauth/authorize?client_id=${import.meta.env.VITE_REST_API_KEY}&redirect_uri=${redirect_uri}&response_type=code`;
Expand Down

0 comments on commit 2befd23

Please sign in to comment.