调整请求代理,默认不开启

This commit is contained in:
hooray
2020-11-11 00:50:41 +08:00
parent 2be24342a9
commit ae4680770a
2 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ const toLogin = () => {
}
const api = axios.create({
baseURL: process.env.NODE_ENV !== 'development' && process.env.VUE_APP_API_ROOT,
baseURL: process.env.VUE_APP_API_ROOT,
timeout: 10000,
responseType: 'json'
// withCredentials: true