diff options
Diffstat (limited to 'server/controllers/activitypub')
-rw-r--r-- | server/controllers/activitypub/index.ts | 2 |
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 | ||
3 | import { badRequest } from '../../helpers' | 3 | import { badRequest } from '../../helpers' |
4 | import { inboxRouter } from './inbox' | 4 | import { inboxRouter } from './inbox' |
5 | import { activityPubClientRouter } from './client' | ||
5 | 6 | ||
6 | const remoteRouter = express.Router() | 7 | const remoteRouter = express.Router() |
7 | 8 | ||
8 | remoteRouter.use('/inbox', inboxRouter) | 9 | remoteRouter.use('/inbox', inboxRouter) |
10 | remoteRouter.use('/', activityPubClientRouter) | ||
9 | remoteRouter.use('/*', badRequest) | 11 | remoteRouter.use('/*', badRequest) |
10 | 12 | ||
11 | // --------------------------------------------------------------------------- | 13 | // --------------------------------------------------------------------------- |