From 6a045f7b8f6daad23457501976ab4e5e412becb6 Mon Sep 17 00:00:00 2001 From: faddishcorn Date: Wed, 13 Nov 2024 14:46:54 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20login=20url=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 11 ++++++++++- src/components/features/Introduce/Introduce.tsx | 4 +++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.env.development b/.env.development index 4541bf9..bc487cd 100644 --- a/.env.development +++ b/.env.development @@ -1,2 +1,11 @@ VITE_API_URL = https://api.splanet.co.kr -VITE_LOGIN_URL = https://api.splanet.co.kr/oauth2/authorization/kakao \ No newline at end of file +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" \ No newline at end of file diff --git a/src/components/features/Introduce/Introduce.tsx b/src/components/features/Introduce/Introduce.tsx index 09bb159..60fb2a1 100644 --- a/src/components/features/Introduce/Introduce.tsx +++ b/src/components/features/Introduce/Introduce.tsx @@ -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 (