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