mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Follow works
This commit is contained in:
parent
e34c85e527
commit
350e31d6b6
39 changed files with 431 additions and 169 deletions
|
@ -4,14 +4,14 @@ import { badRequest } from '../../helpers'
|
|||
import { inboxRouter } from './inbox'
|
||||
import { activityPubClientRouter } from './client'
|
||||
|
||||
const remoteRouter = express.Router()
|
||||
const activityPubRouter = express.Router()
|
||||
|
||||
remoteRouter.use('/', inboxRouter)
|
||||
remoteRouter.use('/', activityPubClientRouter)
|
||||
remoteRouter.use('/*', badRequest)
|
||||
activityPubRouter.use('/', inboxRouter)
|
||||
activityPubRouter.use('/', activityPubClientRouter)
|
||||
activityPubRouter.use('/*', badRequest)
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export {
|
||||
remoteRouter
|
||||
activityPubRouter
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue