]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/controllers/api/server/index.ts
Add explicit error message that changing video ownership only works with local accou...
[github/Chocobozzz/PeerTube.git] / server / controllers / api / server / index.ts
CommitLineData
51548b31 1import * as express from 'express'
4610bc5b 2import { serverFollowsRouter } from './follows'
09cababd 3import { statsRouter } from './stats'
c48e82b5 4import { serverRedundancyRouter } from './redundancy'
51548b31 5
4610bc5b 6const serverRouter = express.Router()
51548b31 7
4610bc5b 8serverRouter.use('/', serverFollowsRouter)
c48e82b5 9serverRouter.use('/', serverRedundancyRouter)
09cababd 10serverRouter.use('/', statsRouter)
51548b31
C
11
12// ---------------------------------------------------------------------------
13
14export {
4610bc5b 15 serverRouter
51548b31 16}