mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
fix
This commit is contained in:
parent
b7349e5771
commit
1f0e7a40b6
@ -40,7 +40,7 @@ export async function createSignedPost(args: { level: string; key: PrivateKey; u
|
|||||||
['(request-target)', 'date', 'host', 'digest'],
|
['(request-target)', 'date', 'host', 'digest'],
|
||||||
);
|
);
|
||||||
|
|
||||||
delete request.headers['host'];
|
delete request.headers['Host'];
|
||||||
|
|
||||||
return {
|
return {
|
||||||
request,
|
request,
|
||||||
@ -68,7 +68,7 @@ export async function createSignedGet(args: { level: string; key: PrivateKey; ur
|
|||||||
['(request-target)', 'date', 'host', 'accept'],
|
['(request-target)', 'date', 'host', 'accept'],
|
||||||
);
|
);
|
||||||
|
|
||||||
delete request.headers['host'];
|
delete request.headers['Host'];
|
||||||
|
|
||||||
return {
|
return {
|
||||||
request,
|
request,
|
||||||
|
Loading…
Reference in New Issue
Block a user