Merge pull request #2474 from mei23/mei-0825-appleroma2
Pleromaとつながらないのを修正
This commit is contained in:
commit
d9b02a18bf
11 changed files with 53 additions and 19 deletions
|
@ -25,7 +25,7 @@ function inbox(ctx: Router.IRouterContext) {
|
|||
ctx.req.headers.authorization = 'Signature ' + ctx.req.headers.signature;
|
||||
|
||||
try {
|
||||
signature = httpSignature.parseRequest(ctx.req);
|
||||
signature = httpSignature.parseRequest(ctx.req, { 'headers': [] });
|
||||
} catch (e) {
|
||||
ctx.status = 401;
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue