diff --git a/src/utils/request.js b/src/utils/request.js index 0700744..1424162 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -8,7 +8,8 @@ import merge from 'lodash/merge' const http = axios.create({ // baseURL: window.SITE_CONFIG['apiURL'], - baseURL: '/yd-monitor', + baseURL: '/api', + // baseURL: '/yd-monitor', // baseURL: process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor', timeout: 1000 * 180, withCredentials: true