Skip to content

Commit

Permalink
chore: login url수정
Browse files Browse the repository at this point in the history
  • Loading branch information
faddishcorn committed Nov 13, 2024
1 parent ed6e9f5 commit 6a045f7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
VITE_API_URL = https://api.splanet.co.kr
VITE_LOGIN_URL = https://api.splanet.co.kr/oauth2/authorization/kakao
VITE_LOGIN_URL = https://api.splanet.co.kr/oauth2/authorization/kakao

VITE_FIREBASE_API_KEY="AIzaSyAInigygScRLDilnWcnArBN8LMbQRpDZVk"
VITE_FIREBASE_AUTH_DOMAIN="splanet-cef14.firebaseapp.com"
VITE_FIREBASE_PROJECT_ID="splanet-cef14"
VITE_FIREBASE_STORAGE_BUCKET="splanet-cef14.appspot.com"
VITE_FIREBASE_MESSAGING_SENDER_ID="995362943401"
VITE_FIREBASE_APP_ID="1:995362943401:web:cef434d0e3f51d31a4d4b8"
VITE_FIREBASE_MEASUREMENT_ID="G-LZJKRYBSJV"
VITE_FIREBASE_VAPID_KEY="BHGMkWgFVGKfNFkDm81jQF0GdtehYhZMEeHeQ3kx4ViRmLaoqH2YFjxNdl7guYA4NKEFpxYlHhoXeLMyJtyJrmI"
4 changes: 3 additions & 1 deletion src/components/features/Introduce/Introduce.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,10 @@ const Introduce = () => {
navigate(RouterPath.PREVIEW_PLAN);
};

const loginUrl = import.meta.env.VITE_LOGIN_URL;

const handleLoginClick = () => {
navigate(RouterPath.LOGIN);
window.location.href = loginUrl;
};
return (
<LandingContainer>
Expand Down

0 comments on commit 6a045f7

Please sign in to comment.