Automatically resize avatars

This commit is contained in:
Chocobozzz
2018-01-03 11:36:03 +01:00
parent 01de67b9a4
commit e8e122002d
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,

View File

@@ -11,7 +11,7 @@ import { VideoModel } from '../../models/video/video'
const outboxRouter = express.Router()
outboxRouter.get('/account/:name/outbox',
outboxRouter.get('/accounts/:name/outbox',
localAccountValidator,
asyncMiddleware(outboxController)
)