From 071a1730b9f793549c52b18f429dd82652840e69 Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 3 Jan 2023 13:29:47 +0000 Subject: [PATCH] fix ip check --- packages/backend/src/core/DownloadService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/DownloadService.ts b/packages/backend/src/core/DownloadService.ts index d368d940bd..0185d88534 100644 --- a/packages/backend/src/core/DownloadService.ts +++ b/packages/backend/src/core/DownloadService.ts @@ -37,7 +37,7 @@ export class DownloadService { buildConnector({ ...this.httpRequestService.clientDefaults.connect, }), - this.isPrivateIp + (ip) => !this.isPrivateIp(ip) ), bodyTimeout: 30 * 1000, }));