mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-27 20:13:09 +02:00
parent
7c5ac2cbb4
commit
122076e8ea
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ export default async (user: ILocalUser, url: string, object: any) => {
|
|||
authorizationHeaderName: 'Signature',
|
||||
key: keypair.privateKey,
|
||||
keyId: `${config.url}/users/${user.id}#main-key`,
|
||||
headers: ['date', 'host', 'digest']
|
||||
headers: ['(request-target)', 'date', 'host', 'digest']
|
||||
});
|
||||
|
||||
req.on('timeout', () => req.abort());
|
||||
|
|
Loading…
Reference in a new issue