Automatically resize avatars

This commit is contained in:
Chocobozzz 2018-01-03 11:36:03 +01:00
parent 01de67b9a4
commit e8e122002d
No known key found for this signature in database
GPG key ID: 583A612D890159BE
12 changed files with 27 additions and 11 deletions

View file

@ -16,7 +16,7 @@ inboxRouter.post('/inbox',
asyncMiddleware(inboxController)
)
inboxRouter.post('/account/:name/inbox',
inboxRouter.post('/accounts/:name/inbox',
signatureValidator,
asyncMiddleware(checkSignature),
localAccountValidator,