대시보드 기능 추가
This commit is contained in:
1 parent
05dc2e1cc2
commit
1a4155da9b
8 files changed
+1005
-458
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -411,7 +411,7 @@ const GenerationFlow: React.FC<GenerationFlowProps> = ({
|
||||
const renderContent = () => {
|
||||
switch (activeItem) {
|
||||
case '대시보드':
|
||||
return <DashboardContent />;
|
||||
return <DashboardContent onNavigate={handleNavigate} />;
|
||||
case '비즈니스 설정':
|
||||
return <BusinessSettingsContent />;
|
||||
case 'ADO2 콘텐츠':
|
||||
|
||||
+2
-2
@@ -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> {
|
||||
|
||||
Reference in new issue
Block a user