diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/helpers/requests.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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) { | |||
185 | 185 | ||
186 | return { | 186 | return { |
187 | method: options.method, | 187 | method: options.method, |
188 | dnsCache: true, | ||
188 | json: options.json, | 189 | json: options.json, |
189 | searchParams: options.searchParams, | 190 | searchParams: options.searchParams, |
190 | timeout: options.timeout ?? REQUEST_TIMEOUT, | 191 | timeout: options.timeout ?? REQUEST_TIMEOUT, |