perf: 支持群晖

This commit is contained in:
xiaojunnuo
2024-09-09 16:01:42 +08:00
parent 18718f6a25
commit 5c270b6b9d
11 changed files with 60 additions and 46 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { utils } from '@certd/pipeline';
export async function request(config: any): Promise<any> {
try {
return await utils.http(config);
return await utils.http.request(config);
} catch (e) {
const data = e.data || e.response?.data;
if (data) {