We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ed5822e + 47758e0 commit ba20dafCopy full SHA for ba20daf
src/components/ide/services/ApiService.js
@@ -1,12 +1,14 @@
1
// ==============================================
2
// 📄 src/components/ide/services/ApiService.js
3
4
+import config from '../../../config'; // 정확한 상대경로 사용
5
+
6
7
/**
8
* 🌐 API 서비스 클래스 - 실제 API와 JSON Mock 하이브리드
9
*/
10
export class ApiService {
- static API_BASE_URL = 'http://13.209.72.114:8080/api/code';
11
+ static API_BASE_URL = `${config.API_BASE_URL}/api/code`;
12
static USE_REAL_API = true; // 🎛️ true로 설정하면 실제 API 먼저 시도
13
14
0 commit comments