客户端模式的同步服务连接允许重定向 5 次(#2109)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user