openlist根路径主动移除bom

This commit is contained in:
mtvpls
2026-02-06 21:28:57 +08:00
parent d148491526
commit f43bdaa9e3
9 changed files with 48 additions and 28 deletions
+1 -2
View File
@@ -158,7 +158,6 @@ export class OpenListClient {
console.warn('[OpenListClient] 解析响应 JSON 失败:', error);
}
}
return response;
}
@@ -166,7 +165,7 @@ export class OpenListClient {
const token = await this.getToken();
return {
Authorization: token, // 不带 bearer
'Content-Type': 'application/json',
'Content-Type': 'application/json'
};
}