mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 15:28:36 +08:00
调整请求代理,默认不开启
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user