We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c45af4 commit 55cdcd5Copy full SHA for 55cdcd5
src/utils/api.ts
@@ -1,6 +1,6 @@
1
// API 유틸리티 함수들
2
3
-const API_BASE_URL = '/api';
+const API_BASE_URL = `${import.meta.env.VITE_API_URL}/api`;
4
5
// 기본 fetch 래퍼
6
async function apiRequest<T>(
0 commit comments