mirror of
https://github.com/ktds-dg0501/kt-event-marketing-fe.git
synced 2026-06-13 08:59:10 +00:00
이벤트 생성 플로우 개선 및 API 통합
- RecommendationStep 컴포넌트 확장 및 기능 개선 - 이벤트 API 및 AI API 연동 강화 - 인증 관련 훅 기능 확장 - 타입 정의 및 에러 처리 개선 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -32,12 +32,15 @@ const EVENT_HOST = process.env.NEXT_PUBLIC_EVENT_HOST || 'http://localhost:8080'
|
||||
*/
|
||||
import axios from 'axios';
|
||||
|
||||
const API_VERSION = process.env.NEXT_PUBLIC_API_VERSION || 'v1';
|
||||
|
||||
const eventApiClient = axios.create({
|
||||
baseURL: EVENT_HOST,
|
||||
baseURL: `${EVENT_HOST}/api/${API_VERSION}`,
|
||||
timeout: 30000,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
withCredentials: false, // CORS 설정
|
||||
});
|
||||
|
||||
// Request interceptor - JWT 토큰 추가
|
||||
|
||||
Reference in New Issue
Block a user