src/assets/js/axios.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/assets/js/axios.js
@@ -17,7 +17,7 @@ config.baseURL = 'http://localhost:8919/fg'; config.withCredentials = true; // 保持请求头 } else { config.baseURL = '/fg'; config.baseURL = `http://${location.hostname}:8919/fg`; config.withCredentials = true; // 保持请求头 } }