客户端模式的同步服务连接允许重定向 5 次(#2109)

This commit is contained in:
lyswhut
2024-11-10 11:05:59 +08:00
parent 9237dbbc18
commit 0345419ef3
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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,