diff options
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 | ) |