diff --git a/.env b/.env index 9419201..a842036 100644 --- a/.env +++ b/.env @@ -3,5 +3,8 @@ # !!! 중요: ".env.local" 파일이 아닌 ".env" 파일에 비밀번호 같은 중요 정보를 적고 커밋하지 마세요 !!! +# 프론트엔드 서비스의 URL을 입력합니다. +VITE_SERVICE_URL=http://localhost:5173/ + # 백엔드 서비스의 URL을 입력합니다. VITE_API_URL=http://127.0.0.1/ \ No newline at end of file diff --git a/src/App.jsx b/src/App.jsx index a934b20..37d3d31 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -19,10 +19,11 @@ function App() { useEffect(() => { const accessToken = Cookies.get('accessToken'); + const email = Cookies.get('email'); const id = Cookies.get('id'); if (accessToken && id) { - store.dispatch(login({ accessToken, id })); + store.dispatch(login({ accessToken, id, email })); } }, []); diff --git a/src/MobileWrapper.jsx b/src/MobileWrapper.jsx index 357e686..3cb50aa 100644 --- a/src/MobileWrapper.jsx +++ b/src/MobileWrapper.jsx @@ -3,7 +3,7 @@ import styled from 'styled-components'; import routes from './routes.jsx'; import { IoIosArrowBack } from 'react-icons/io'; -import ServiceLogoImage from './assets/images/service_logo.svg'; +import ServiceLogoImage from './assets/images/service_logo.png'; import ServiceLogoCompactImage from './assets/images/rice_balloon_no_tail.svg'; import RiceBalloonButton from './assets/images/rice_balloon_button.svg'; import { useState, useEffect } from 'react'; @@ -183,7 +183,7 @@ const MobileWrapper = ({}) => {