mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-25 15:46:06 +09:00
Use resolvable ActivityPub keyId
This commit is contained in:
parent
4f90dfb3d4
commit
5a8f47e995
@ -35,7 +35,7 @@ export default (user: ILocalUser, url: string, object: any) => new Promise((reso
|
||||
sign(req, {
|
||||
authorizationHeaderName: 'Signature',
|
||||
key: user.keypair,
|
||||
keyId: `acct:${user.username}@${config.host}`
|
||||
keyId: `${config.url}/users/${user._id}/publickey`
|
||||
});
|
||||
|
||||
// Signature: Signature ... => Signature: ...
|
||||
|
Loading…
Reference in New Issue
Block a user