Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina committed Jul 17, 2024
1 parent b7349e5 commit 1f0e7a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/backend/src/core/activitypub/ApRequestService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 1f0e7a4

Please sign in to comment.