Skip to content

Commit 534d10c

Browse files
committed
Merge remote-tracking branch 'origin/sunwoong'
2 parents aae2d46 + 91a2a19 commit 534d10c

File tree

2 files changed

+2
-24
lines changed

2 files changed

+2
-24
lines changed

src/config.js

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
1-
// 개발 환경에서는 프록시를 통해 우회해야 하므로 ''로 설정
2-
const isDev = process.env.NODE_ENV === 'development';
3-
1+
// 프록시 없이 직접 API 서버 주소 사용
42
const config = {
5-
API_BASE_URL: isDev ? '' : 'http://3.38.244.234:8080',
3+
API_BASE_URL: 'http://13.209.72.114:8080', // ✅ 항상 고정된 주소 사용
64
};
75

86
export default config;
9-
10-
11-
// 아래는 프록시 코드를 제거하면 활성화 후 위 코드들 지우기
12-
//const config = {
13-
//API_BASE_URL: 'http://3.38.244.234:8080', // 절대경로로 고정
14-
//};
15-
16-
// default config;

src/setupProxy.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)