Add stats route

This commit is contained in:
Chocobozzz 2018-02-28 18:04:46 +01:00
parent 22b59e8099
commit 09cababd79
No known key found for this signature in database
GPG key ID: 583A612D890159BE
26 changed files with 268 additions and 42 deletions

View file

@ -56,6 +56,8 @@ async function inboxController (req: express.Request, res: express.Response, nex
specificActor = res.locals.videoChannel
}
logger.info('Receiving inbox requests for %d activities by %s.', activities.length, res.locals.signature.actor)
await processActivities(activities, res.locals.signature.actor, specificActor)
res.status(204).end()