修改不限制接口的请求

v1.4.0
于肖磊 2025-08-07 09:28:21 +08:00
parent e79ca02d8f
commit b601c9971e
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ const isLogoutModalShown = ref(true);
// 用于存储每个请求的CancelToken
const pendingRequests = new Map();
// 不需要认证的接口
const release_url = ['diyapi/attachmentupload'];
const release_url = ['attachmentapi/attachmentupload'];
// 创建 axios 实例
const index = window.location.href.lastIndexOf('?s=');
const new_data = window.location.href.substring(0, index);

View File

@ -23,7 +23,7 @@ const isLogoutModalShown = ref(true);
// 用于存储每个请求的CancelToken
const pendingRequests = new Map();
// 不需要认证的接口
const release_url = ['diyapi/attachmentupload'];
const release_url = ['attachmentapi/attachmentupload'];
// 创建 axios 实例
const index = window.location.href.lastIndexOf('?s=');
const pro_url = window.location.href.substring(0, index);