Detect posting request in our own inbox
This commit is contained in:
parent
1ee48d1903
commit
285fe7c930
3 changed files with 21 additions and 3 deletions
|
@ -12,7 +12,7 @@ const inboxRouter = express.Router()
|
|||
inboxRouter.post('/inbox',
|
||||
signatureValidator,
|
||||
asyncMiddleware(checkSignature),
|
||||
activityPubValidator,
|
||||
asyncMiddleware(activityPubValidator),
|
||||
asyncMiddleware(inboxController)
|
||||
)
|
||||
|
||||
|
@ -20,7 +20,7 @@ inboxRouter.post('/accounts/:name/inbox',
|
|||
signatureValidator,
|
||||
asyncMiddleware(checkSignature),
|
||||
localAccountValidator,
|
||||
activityPubValidator,
|
||||
asyncMiddleware(activityPubValidator),
|
||||
asyncMiddleware(inboxController)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue