perf: default not set withCredentials

This commit is contained in:
Pan 2019-05-28 11:09:00 +08:00
parent 00c853c54d
commit 884587cccf
1 changed files with 1 additions and 1 deletions

View File

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