|
@@ -5,7 +5,7 @@ import replaceProxyUrl from './ajax/replace-proxy-url';
|
|
|
|
|
|
|
|
const ajax = axios.create({
|
|
const ajax = axios.create({
|
|
|
withCredentials: true, // 跨域发送 cookie
|
|
withCredentials: true, // 跨域发送 cookie
|
|
|
- timeout: 300000, // 请求超时
|
|
|
|
|
|
|
+ timeout: 1000 * 60 * 10, // 请求超时
|
|
|
headers: {
|
|
headers: {
|
|
|
'Content-Type': 'application/json'
|
|
'Content-Type': 'application/json'
|
|
|
}
|
|
}
|