1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-11 12:49:30 +08:00

fix: 修复域名 后缀带 / 问题,修改doc文档

This commit is contained in:
小莫唐尼
2026-04-24 18:06:23 +08:00
parent 72dc278a2b
commit 73bc88bad8
3 changed files with 11 additions and 16 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const http = new Request()
http.setConfig((config) => {
// 如果是在外部浏览器调试或者编译为h5,请注释该行代码
config.baseURL = HaloTokenConfig.BASE_API;
config.baseURL = HaloTokenConfig.BASE_API.replace(/\/+$/, "");
config.header = {
...config.header,