mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Automatically resize avatars
This commit is contained in:
@@ -16,7 +16,7 @@ inboxRouter.post('/inbox',
|
||||
asyncMiddleware(inboxController)
|
||||
)
|
||||
|
||||
inboxRouter.post('/account/:name/inbox',
|
||||
inboxRouter.post('/accounts/:name/inbox',
|
||||
signatureValidator,
|
||||
asyncMiddleware(checkSignature),
|
||||
localAccountValidator,
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user