앱 브릿지 토큰 요청 및 로그아웃 기능 추가

- requestToken 함수 구현 및 토큰 저장 로직 추가
- 토큰 null 체크 및 자동 로그아웃 처리
- 환경 변수 및 빌드 설정 업데이트

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jay Sheen
2025-09-17 16:32:30 +09:00
parent 56ef85e3f3
commit 90ed6b8ac9
8 changed files with 68 additions and 13 deletions

View File

@@ -67,7 +67,7 @@ const onResponseRejected = (error: AxiosError) => {
};
export const initAxios = () => {
axios.defaults.withCredentials = true;
axios.defaults.withCredentials = false;
axios.defaults.timeout = 15000;
axios.defaults.transitional = {
clarifyTimeoutError: true,

View File

@@ -9,7 +9,7 @@ const getAPIBaseUrl = () => {
}
return rs;
};
const getAPIAuthBaseUrl = () => {
const getAPIAuthBaseUrl = () => {
let rs = CURRENT_URL;
console.log('VITE_APP_ENV : ', import.meta.env.VITE_APP_ENV);
if(import.meta.env.VITE_APP_ENV === 'production'){