update request.sj

This commit is contained in:
g7hoo 2022-09-30 17:03:40 +08:00
parent 3f43f0c979
commit 86d3f63178

View File

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