diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-10 17:27:49 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:51 +0100 |
commit | 571389d43b8fc8aaf27e77c06f19b320b08dbbc9 (patch) | |
tree | e57173bcd0590d939c28952a29258fd02a281e35 /server/controllers/activitypub | |
parent | 38fa2065831b5f55be0d7f30f19a62c967397208 (diff) | |
download | PeerTube-571389d43b8fc8aaf27e77c06f19b320b08dbbc9.tar.gz PeerTube-571389d43b8fc8aaf27e77c06f19b320b08dbbc9.tar.zst PeerTube-571389d43b8fc8aaf27e77c06f19b320b08dbbc9.zip |
Make it compile at least
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 | // --------------------------------------------------------------------------- |