File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ NEXT_PUBLIC_ORIGIN=http://localhost:3000
22NEXT_PUBLIC_FACEBOOK_APP_ID =
33NEXT_PUBLIC_GOOGLE_OAUTH_CLIENT_ID = 456944189609-jo13a6v8cb25vofi8qfldu3ionkq4u2q.apps.googleusercontent.com
44NEXT_PUBLIC_APPLE_OAUTH_APP_ID = com.sopt-playground.sopt-iOS
5- NEXT_PUBLIC_API_URL = https://playground. dev.sopt.org
5+ NEXT_PUBLIC_API_URL = https://playground- dev.sopt.org
66NEXT_PUBLIC_DEBUG = true
77NEXT_PUBLIC_GTM_ID = GTM-KJHR376
88NEXT_PUBLIC_AMPLITUDE_API_KEY =
99NEXT_PUBLIC_KAKAO_TALK_PLUGIN_KEY =
1010NEXT_PUBLIC_ADMIN_API_URL = https://api-dev.sopt.org/v2
1111NEXT_PUBLIC_ADMIN_API_KEY =
1212NEXT_PUBLIC_OPERATION_API_URL = https://operation.api.dev.sopt.org
13- NEXT_PUBLIC_AUTH_API_URL = https://auth.api. dev.sopt.org
14- NEXT_PUBLIC_CREW_API_URL = https://crew.api. dev.sopt.org
13+ NEXT_PUBLIC_AUTH_API_URL = https://auth- dev-api .sopt.org
14+ NEXT_PUBLIC_CREW_API_URL = https://crew- dev.sopt.org
Original file line number Diff line number Diff line change @@ -95,8 +95,8 @@ export const handleTokenError = async (error: AxiosError<unknown>) => {
9595 // 개인정보 처리방침 페이지는 로그인 필요 없음, 구글 정책상 오픈
9696 return Promise . reject ( error ) ;
9797 }
98- // 에스크 문자를 통한 딥링크 접근을 위해 허용
99- if ( window . location . pathname === '/.well-known/apple-app-site-association' || ' /.well-known/assetlinks.json' ) {
98+ // 앱 딥링크를 위한 .well-known 경로는 인증 체크 제외
99+ if ( window . location . pathname . startsWith ( ' /.well-known' ) ) {
100100 return Promise . reject ( error ) ;
101101 }
102102 /** 토큰이 없으면 refresh 시도하지 않고 바로 intro로 이동 */
@@ -105,6 +105,7 @@ export const handleTokenError = async (error: AxiosError<unknown>) => {
105105 window . location . replace ( '/intro' ) ;
106106 throw new Error ( '토큰이 없습니다.' ) ;
107107 }
108+
108109 try {
109110 const { data } = await axiosAuthInstance . post < { data : { accessToken : string } } > (
110111 `/api/v1/auth/refresh/web` ,
You can’t perform that action at this time.
0 commit comments