X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=server%2Fhelpers%2Frequests.ts;h=36e69458e533064a584e93a061d6361b57dc4db6;hb=fbd67e7f386504e50f2504cb6386700a58906f16;hp=d3c83d26e29f25dc78ac884e3cda2c3a2003e17e;hpb=7500d6c9000b531fda1fd64e188b7cf83803941a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/requests.ts b/server/helpers/requests.ts index d3c83d26e..36e69458e 100644 --- a/server/helpers/requests.ts +++ b/server/helpers/requests.ts @@ -185,6 +185,7 @@ function buildGotOptions (options: PeerTubeRequestOptions) { return { method: options.method, + dnsCache: true, json: options.json, searchParams: options.searchParams, timeout: options.timeout ?? REQUEST_TIMEOUT,