mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
parent
3f3d4c966e
commit
696f8c9638
@ -49,7 +49,7 @@ export default async (user: ILocalUser, url: string, object: any) => {
|
|||||||
authorizationHeaderName: 'Signature',
|
authorizationHeaderName: 'Signature',
|
||||||
key: keypair.privateKey,
|
key: keypair.privateKey,
|
||||||
keyId: `${config.url}/users/${user.id}#main-key`,
|
keyId: `${config.url}/users/${user.id}#main-key`,
|
||||||
headers: ['date', 'host', 'digest']
|
headers: ['(request-target)', 'date', 'host', 'digest']
|
||||||
});
|
});
|
||||||
|
|
||||||
req.on('timeout', () => req.abort());
|
req.on('timeout', () => req.abort());
|
||||||
|
Loading…
Reference in New Issue
Block a user