]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/requests.ts
Add ability to search by uuids/actor names
[github/Chocobozzz/PeerTube.git] / server / helpers / requests.ts
index d3c83d26e29f25dc78ac884e3cda2c3a2003e17e..36e69458e533064a584e93a061d6361b57dc4db6 100644 (file)
@@ -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,