Browse Source

0412 新看板

master
ruanqi 1 year ago
parent
commit
51a18e1d24
  1. 4
      src/utils/httpRequest.js

4
src/utils/httpRequest.js

@ -40,7 +40,7 @@ http.interceptors.response.use(response => {
// ============================= 下载功能的请求 =============================
const instance2 = axios.create({
baseURL: (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl),
timeout: 10000 * 30,
timeout: 10000 * 600,
withCredentials: true,
responseType: 'blob',
headers: {
@ -113,7 +113,7 @@ export default http
const instance = axios.create({
baseURL: (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) ,
timeout: 1000 * 30,
timeout: 1000 * 600,
withCredentials: true,
headers: {
'Content-Type': 'application/json; charset=utf-8'

Loading…
Cancel
Save