mirror of https://github.com/Chocobozzz/PeerTube
16 lines
339 B
TypeScript
16 lines
339 B
TypeScript
import * as express from 'express'
|
|
|
|
import { badRequest } from '../../helpers'
|
|
import { inboxRouter } from './inbox'
|
|
|
|
const remoteRouter = express.Router()
|
|
|
|
remoteRouter.use('/inbox', inboxRouter)
|
|
remoteRouter.use('/*', badRequest)
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
export {
|
|
remoteRouter
|
|
}
|