forked from mt-fe-group/mt-yd-ui
update request.sj
This commit is contained in:
parent
3f43f0c979
commit
86d3f63178
@ -8,7 +8,8 @@ import merge from 'lodash/merge'
|
|||||||
|
|
||||||
const http = axios.create({
|
const http = axios.create({
|
||||||
// baseURL: window.SITE_CONFIG['apiURL'],
|
// baseURL: window.SITE_CONFIG['apiURL'],
|
||||||
baseURL: '/yd-monitor',
|
baseURL: '/api',
|
||||||
|
// baseURL: '/yd-monitor',
|
||||||
// baseURL: process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor',
|
// baseURL: process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor',
|
||||||
timeout: 1000 * 180,
|
timeout: 1000 * 180,
|
||||||
withCredentials: true
|
withCredentials: true
|
||||||
|
Loading…
Reference in New Issue
Block a user