diff --git a/publish/changeLog.md b/publish/changeLog.md index 0f16df4a..492d1486 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -10,6 +10,7 @@ - 优化播放详情页UI,歌曲名字、歌手等文字过长时被截断的问题(#2049) - Scheme URL 的播放歌曲允许更长的专辑名称 - 播放本地歌曲时,将优先尝试读取本地同名字的 `jpg` 或 `png` 图片作为播放封面显示,若文件不存在则从音频文件内读取,最后再尝试使用在线图片(#2096) +- 客户端模式的同步服务连接允许重定向 5 次(#2109) ### 修复 diff --git a/src/main/modules/sync/client/utils.ts b/src/main/modules/sync/client/utils.ts index d169ce68..488602bb 100644 --- a/src/main/modules/sync/client/utils.ts +++ b/src/main/modules/sync/client/utils.ts @@ -6,6 +6,7 @@ export const request = async(url: string, options: RequestOptions = { }) => { return httpFetch(url, { ...options, timeout: options.timeout ?? 10000, + follow_max: 5, }).then(response => { return { text: response.body,