PeerTube/server/controllers/activitypub/index.ts

17 lines
449 B
TypeScript
Raw Normal View History

2021-08-27 14:32:44 +02:00
import express from 'express'
2017-11-10 17:27:49 +01:00
import { activityPubClientRouter } from './client'
import { inboxRouter } from './inbox'
2017-11-21 18:23:10 +01:00
import { outboxRouter } from './outbox'
2017-11-09 17:51:58 +01:00
2017-11-14 17:31:26 +01:00
const activityPubRouter = express.Router()
2017-11-09 17:51:58 +01:00
2017-11-14 17:31:26 +01:00
activityPubRouter.use('/', inboxRouter)
2017-11-21 18:23:10 +01:00
activityPubRouter.use('/', outboxRouter)
2017-11-14 17:31:26 +01:00
activityPubRouter.use('/', activityPubClientRouter)
2017-11-09 17:51:58 +01:00
// ---------------------------------------------------------------------------
export {
2017-11-14 17:31:26 +01:00
activityPubRouter
2017-11-09 17:51:58 +01:00
}