parent
5a950cf991
commit
46aaf8fa9a
4 changed files with 14 additions and 10 deletions
|
|
@ -56,7 +56,7 @@ export default async (user: ILocalUser, url: string, object: any) => {
|
|||
sign(req, {
|
||||
authorizationHeaderName: 'Signature',
|
||||
key: keypair.privateKey,
|
||||
keyId: `${config.url}/users/${user.id}/publickey`,
|
||||
keyId: `${config.url}/users/${user.id}#main-key`,
|
||||
headers: ['date', 'host', 'digest']
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue