aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/activitypub
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/activitypub')
-rw-r--r--server/controllers/activitypub/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/activitypub/index.ts b/server/controllers/activitypub/index.ts
index 7a4602b37..2b0e2a489 100644
--- a/server/controllers/activitypub/index.ts
+++ b/server/controllers/activitypub/index.ts
@@ -2,10 +2,12 @@ import * as express from 'express'
2 2
3import { badRequest } from '../../helpers' 3import { badRequest } from '../../helpers'
4import { inboxRouter } from './inbox' 4import { inboxRouter } from './inbox'
5import { activityPubClientRouter } from './client'
5 6
6const remoteRouter = express.Router() 7const remoteRouter = express.Router()
7 8
8remoteRouter.use('/inbox', inboxRouter) 9remoteRouter.use('/inbox', inboxRouter)
10remoteRouter.use('/', activityPubClientRouter)
9remoteRouter.use('/*', badRequest) 11remoteRouter.use('/*', badRequest)
10 12
11// --------------------------------------------------------------------------- 13// ---------------------------------------------------------------------------