From 91e5396b94388cb7f49fd9348f2a34b020cc08fe Mon Sep 17 00:00:00 2001 From: minuk926 Date: Thu, 7 Jul 2022 15:59:34 +0900 Subject: [PATCH] config: production confg fix --- src/utils/axios.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'