update 设备异常分析

This commit is contained in:
2022-09-22 10:03:23 +08:00
parent 7ed4a512bc
commit 1ad64efe59
2 changed files with 57 additions and 64 deletions

View File

@@ -8,8 +8,8 @@ import merge from 'lodash/merge'
const http = axios.create({
// baseURL: window.SITE_CONFIG['apiURL'],
// baseURL: '/api',
baseURL: process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor',
baseURL: '/api',
// baseURL: process.env.NODE_ENV === 'production' ? '/api' : '/yd-monitor',
timeout: 1000 * 180,
withCredentials: true
})