대시보드 기능 추가

This commit is contained in:
skkim committed 2026-02-26 10:34:26 +09:00
1 parent 05dc2e1cc2
commit 1a4155da9b
8 files changed
+1005 -458

No files matched your search

+2 -2
View File
@@ -30,7 +30,7 @@ import {
YTAutoSeoResponse,
} from '../types/api';
const API_URL = import.meta.env.VITE_API_URL || 'http://40.82.133.44';
export const API_URL = import.meta.env.VITE_API_URL || 'http://40.82.133.44';
console.log('[API] API_URL:', API_URL);
console.log('[API] VITE_API_URL env:', import.meta.env.VITE_API_URL);
@@ -451,7 +451,7 @@ function redirectToLogin() {
}
// 401 에러 시 자동으로 토큰 갱신 후 재요청하는 래퍼 함수
async function authenticatedFetch(
export async function authenticatedFetch(
url: string,
options: RequestInit = {}
): Promise<Response> {