Fix Misskey同士でフォローできない
This commit is contained in:
parent
a57a1d809b
commit
0bb59bd73b
2 changed files with 10 additions and 0 deletions
|
|
@ -40,5 +40,10 @@ export default (user: ILocalUser, url: string, object) => new Promise((resolve,
|
|||
keyId: `acct:${user.username}@${config.host}`
|
||||
});
|
||||
|
||||
// Signature: Signature ... => Signature: ...
|
||||
let sig = req.getHeader('Signature').toString();
|
||||
sig = sig.replace(/^Signature /, '');
|
||||
req.setHeader('Signature', sig);
|
||||
|
||||
req.end(JSON.stringify(object));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue