Skip to content

Commit 54ee8a9

Browse files
authored
Merge pull request #37 from DMU-DebugVisual/inseong
IDE api주소 변경
2 parents 1eaaa3a + 413bbeb commit 54ee8a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ide/IDE.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ const IDE = () => {
597597
};
598598

599599
// API 엔드포인트 URL 설정 (스웨거 API로 변경)
600-
const API_URL = 'http://3.38.244.234:8080/api/code/run';
600+
const API_URL = 'http://13.209.72.114:8080/api/code/run';
601601

602602
// 스웨거 API에 맞게 언어 매핑 함수
603603
const mapLanguageToAPI = (langId) => {
@@ -633,7 +633,7 @@ const IDE = () => {
633633
// CORS 우회를 위한 프록시 서버 사용 (개발 환경에서)
634634
const apiUrl = process.env.NODE_ENV === 'development'
635635
? '/api/code/run' // 개발 환경에서는 프록시 사용
636-
: 'http://3.38.244.234:8080/api/code/run'; // 프로덕션 환경에서는 직접 호출
636+
: 'http://13.209.72.114:8080/api/code/run'; // 프로덕션 환경에서는 직접 호출
637637

638638
// API 호출
639639
const response = await fetch(apiUrl, {

0 commit comments

Comments
 (0)