diff --git a/package.json b/package.json index f97de0d..178c06d 100755 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "xit-opst-fo", "version": "0.0.1", "private": true, + "proxy": "http://localhost:8090", "dependencies": { "@emotion/cache": "^11.7.1", "@emotion/react": "^11.7.1", diff --git a/src/utils/axios.js b/src/utils/axios.js index beb277b..3328816 100755 --- a/src/utils/axios.js +++ b/src/utils/axios.js @@ -7,7 +7,7 @@ import Swal from 'sweetalert2'; const axiosService = axios.create({ // baseURL: process.env.NODE_ENV === 'development' ? process.env.REACT_APP_API_URL : '', - baseURL: process.env.REACT_APP_API_URL, + // baseURL: process.env.REACT_APP_API_URL, withCredentials: true, // 개발시만 사용 : crossdomain timeout: Number(process.env.REACT_APP_SERVER_TIMEOUT), headers: {