update request timeout

This commit is contained in:
weijianli 2019-09-18 13:45:20 -05:00
parent 7107cf6391
commit b6a8d9c53a
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import { getToken } from '@/utils/auth'
const service = axios.create({
baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url
// withCredentials: true, // send cookies when cross-domain requests
timeout: 5000 // request timeout
timeout: 500000 // request timeout
})
// request interceptor