diff --git a/src/setupProxy.js b/src/setupProxy.js deleted file mode 100644 index 013b89d..0000000 --- a/src/setupProxy.js +++ /dev/null @@ -1,10 +0,0 @@ -// const { createProxyMiddleware } = require('http-proxy-middleware'); -// -// module.exports = function (app) { -// app.use( -// createProxyMiddleware('/api/v1', { -// target: 'http://localhost:8090', -// changeOrigin: true -// }) -// ); -// }; diff --git a/src/utils/axios.js b/src/utils/axios.js index baefa5c..171e868 100755 --- a/src/utils/axios.js +++ b/src/utils/axios.js @@ -8,7 +8,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, - withCredentials: true, // process.env.NODE_ENV !== 'production', // 개발시만 사용 : crossdomain + withCredentials: process.env.NODE_ENV !== 'production', // 개발시만 사용 : crossdomain timeout: Number(process.env.REACT_APP_SERVER_TIMEOUT), headers: { 'Content-Type': 'application/json'