summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-08-25 16:33:02 +0900
committerGitHub <noreply@github.com>2018-08-25 16:33:02 +0900
commitd9b02a18bf0c30890369e15c4dc1dd88c30804af (patch)
tree933d171b1a6235e18c138d8a4c55901c41bcbc3c /src/server
parent8.11.1 (diff)
parentSend actor in Delete (diff)
downloadsharkey-d9b02a18bf0c30890369e15c4dc1dd88c30804af.tar.gz
sharkey-d9b02a18bf0c30890369e15c4dc1dd88c30804af.tar.bz2
sharkey-d9b02a18bf0c30890369e15c4dc1dd88c30804af.zip
Merge pull request #2474 from mei23/mei-0825-appleroma2
Pleromaとつながらないのを修正
Diffstat (limited to 'src/server')
-rw-r--r--src/server/activitypub.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/activitypub.ts b/src/server/activitypub.ts
index d04ffd38f9..1007790ca6 100644
--- a/src/server/activitypub.ts
+++ b/src/server/activitypub.ts
@@ -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;