From dab63d74b3f32c608d94f0016fa83a4eef1b413d Mon Sep 17 00:00:00 2001 From: minuk926 Date: Mon, 11 Jul 2022 14:28:46 +0900 Subject: [PATCH] config: production confg fix --- src/utils/axios.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/axios.js b/src/utils/axios.js index 171e868..3328816 100755 --- a/src/utils/axios.js +++ b/src/utils/axios.js @@ -7,8 +7,8 @@ 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: process.env.NODE_ENV !== 'production', // 개발시만 사용 : crossdomain + // baseURL: process.env.REACT_APP_API_URL, + withCredentials: true, // 개발시만 사용 : crossdomain timeout: Number(process.env.REACT_APP_SERVER_TIMEOUT), headers: { 'Content-Type': 'application/json'