diff --git a/src/api/index.ts b/src/api/index.ts index cb5a422..43944e3 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -2,7 +2,7 @@ import axios from 'axios'; import { MyOreumRequestBody } from './types'; const axiosInstance = axios.create({ - baseURL: '', + baseURL: process.env.NODE_ENV === 'development' ? '' : process.env.REACT_APP_BASE_URL, headers: { 'Content-Type': 'application/json', 'Accept': '*/*',