mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-06-23 11:57:58 +09:00
Fix: Pass followRedirects
in two spots I missed
This commit is contained in:
parent
23d5e03ba2
commit
6d4ad44de3
@ -119,6 +119,7 @@ export const summaly = async (url: string, options?: SummalyOptions): Promise<Su
|
||||
lang: opts.lang,
|
||||
userAgent: opts.userAgent,
|
||||
responseTimeout: opts.responseTimeout,
|
||||
followRedirects: opts.followRedirects,
|
||||
operationTimeout: opts.operationTimeout,
|
||||
contentLengthLimit: opts.contentLengthLimit,
|
||||
contentLengthRequired: opts.contentLengthRequired,
|
||||
|
@ -127,6 +127,7 @@ export async function getResponse(args: GotOptions) {
|
||||
send: timeout,
|
||||
request: operationTimeout, // whole operation timeout
|
||||
},
|
||||
followRedirect: args.followRedirects,
|
||||
agent,
|
||||
http2: false,
|
||||
retry: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user