Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/ide/IDE.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Link, useNavigate, useLocation, useParams } from 'react-router-dom';
import Editor from '@monaco-editor/react';
import './IDE.css';
//npm install @monaco-editor/react
import ideConfig from '../../ideconfig';
import config from '../../config';


// ResizeObserver 패치 함수 정의
Expand Down Expand Up @@ -598,7 +598,7 @@ const IDE = () => {
return map;
};

const apiUrl = `${ideConfig.API_BASE_URL}/code/run`;
const apiUrl = `${config.API_BASE_URL}/api/code/run`;

// 스웨거 API에 맞게 언어 매핑 함수
const mapLanguageToAPI = (langId) => {
Expand Down
12 changes: 0 additions & 12 deletions src/ideconfig.js

This file was deleted.