api 경로 수정

This commit is contained in:
2025-04-23 11:56:26 +09:00
parent 0306ebc890
commit beac42d60c
6 changed files with 73 additions and 11 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
import axios from 'axios';
// 환경 변수에서 API URL을 가져오거나 기본값 사용
const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:3030';
// const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:3030';
const API_URL = '';
// axios 인스턴스 생성
const apiClient = axios.create({