From 3a2922db6f150d15c41ffa4ecdb99d11c77b10e7 Mon Sep 17 00:00:00 2001 From: AmaseCocoa Date: Thu, 21 Nov 2024 23:02:36 +0900 Subject: [PATCH] =?UTF-8?q?fix(backend):=20HttpRequestService.ts=E3=81=AE?= =?UTF-8?q?=E5=A4=89=E6=9B=B4=E6=BC=8F=E3=82=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20(fetch=E6=99=82=E3=81=AB=E3=83=87=E3=82=B3=E3=83=BC=E3=83=89?= =?UTF-8?q?=E6=B8=88=E3=81=BF=E3=81=AEurl=E3=82=92=E5=8F=82=E7=85=A7?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/core/HttpRequestService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/HttpRequestService.ts b/packages/backend/src/core/HttpRequestService.ts index 0a23202381d9..7e52b80cb0d1 100644 --- a/packages/backend/src/core/HttpRequestService.ts +++ b/packages/backend/src/core/HttpRequestService.ts @@ -292,7 +292,7 @@ export class HttpRequestService { const isLocalAddressAllowed = args.isLocalAddressAllowed ?? false; - const res = await fetch(url, { + const res = await fetch(decodedUrl, { method: args.method ?? 'GET', headers: { 'User-Agent': this.config.userAgent,