From 1f0e7a40b6a120555fd908f9f305c086af717e12 Mon Sep 17 00:00:00 2001 From: tamaina Date: Wed, 17 Jul 2024 23:26:57 +0900 Subject: [PATCH] fix --- packages/backend/src/core/activitypub/ApRequestService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/core/activitypub/ApRequestService.ts b/packages/backend/src/core/activitypub/ApRequestService.ts index 1b0ae6b5aa..e48c1865d9 100644 --- a/packages/backend/src/core/activitypub/ApRequestService.ts +++ b/packages/backend/src/core/activitypub/ApRequestService.ts @@ -40,7 +40,7 @@ export async function createSignedPost(args: { level: string; key: PrivateKey; u ['(request-target)', 'date', 'host', 'digest'], ); - delete request.headers['host']; + delete request.headers['Host']; return { request, @@ -68,7 +68,7 @@ export async function createSignedGet(args: { level: string; key: PrivateKey; ur ['(request-target)', 'date', 'host', 'accept'], ); - delete request.headers['host']; + delete request.headers['Host']; return { request,