1
0
Fork 0
peertube/server/controllers/activitypub/index.ts

17 lines
454 B
TypeScript
Raw Normal View History

2017-11-09 11:51:58 -05:00
import * as express from 'express'
2017-11-10 11:27:49 -05:00
import { activityPubClientRouter } from './client'
import { inboxRouter } from './inbox'
2017-11-21 12:23:10 -05:00
import { outboxRouter } from './outbox'
2017-11-09 11:51:58 -05:00
2017-11-14 11:31:26 -05:00
const activityPubRouter = express.Router()
2017-11-09 11:51:58 -05:00
2017-11-14 11:31:26 -05:00
activityPubRouter.use('/', inboxRouter)
2017-11-21 12:23:10 -05:00
activityPubRouter.use('/', outboxRouter)
2017-11-14 11:31:26 -05:00
activityPubRouter.use('/', activityPubClientRouter)
2017-11-09 11:51:58 -05:00
// ---------------------------------------------------------------------------
export {
2017-11-14 11:31:26 -05:00
activityPubRouter
2017-11-09 11:51:58 -05:00
}