diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-03 11:36:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-03 11:36:03 +0100 |
commit | e8e122002d5a6a2bedcf3d66d35657c9b9e1ebaf (patch) | |
tree | c29952bef32c5e95c9409724f12d902dcdd8d39e /server/controllers/activitypub | |
parent | 01de67b9a4fcdf01102ccc3cb7dc24beebf6c7ea (diff) | |
download | PeerTube-e8e122002d5a6a2bedcf3d66d35657c9b9e1ebaf.tar.gz PeerTube-e8e122002d5a6a2bedcf3d66d35657c9b9e1ebaf.tar.zst PeerTube-e8e122002d5a6a2bedcf3d66d35657c9b9e1ebaf.zip |
Automatically resize avatars
Diffstat (limited to 'server/controllers/activitypub')
-rw-r--r-- | server/controllers/activitypub/inbox.ts | 2 | ||||
-rw-r--r-- | server/controllers/activitypub/outbox.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/activitypub/inbox.ts b/server/controllers/activitypub/inbox.ts index bfcb7b369..8d65639f8 100644 --- a/server/controllers/activitypub/inbox.ts +++ b/server/controllers/activitypub/inbox.ts | |||
@@ -16,7 +16,7 @@ inboxRouter.post('/inbox', | |||
16 | asyncMiddleware(inboxController) | 16 | asyncMiddleware(inboxController) |
17 | ) | 17 | ) |
18 | 18 | ||
19 | inboxRouter.post('/account/:name/inbox', | 19 | inboxRouter.post('/accounts/:name/inbox', |
20 | signatureValidator, | 20 | signatureValidator, |
21 | asyncMiddleware(checkSignature), | 21 | asyncMiddleware(checkSignature), |
22 | localAccountValidator, | 22 | localAccountValidator, |
diff --git a/server/controllers/activitypub/outbox.ts b/server/controllers/activitypub/outbox.ts index 01ba253c6..620f9ee83 100644 --- a/server/controllers/activitypub/outbox.ts +++ b/server/controllers/activitypub/outbox.ts | |||
@@ -11,7 +11,7 @@ import { VideoModel } from '../../models/video/video' | |||
11 | 11 | ||
12 | const outboxRouter = express.Router() | 12 | const outboxRouter = express.Router() |
13 | 13 | ||
14 | outboxRouter.get('/account/:name/outbox', | 14 | outboxRouter.get('/accounts/:name/outbox', |
15 | localAccountValidator, | 15 | localAccountValidator, |
16 | asyncMiddleware(outboxController) | 16 | asyncMiddleware(outboxController) |
17 | ) | 17 | ) |