config: production confg fix

mpower
minuk926 2 years ago
parent aa07b2a93f
commit dab63d74b3

@ -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'

Loading…
Cancel
Save