]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/controllers/api/server/index.ts
Add new plugin/peertube version notifs
[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'
b44164bb 5import { serverBlocklistRouter } from './server-blocklist'
a4101923 6import { contactRouter } from './contact'
fd8710b8 7import { logsRouter } from './logs'
5d79474c 8import { debugRouter } from './debug'
51548b31 9
4610bc5b 10const serverRouter = express.Router()
51548b31 11
4610bc5b 12serverRouter.use('/', serverFollowsRouter)
c48e82b5 13serverRouter.use('/', serverRedundancyRouter)
09cababd 14serverRouter.use('/', statsRouter)
b44164bb 15serverRouter.use('/', serverBlocklistRouter)
a4101923 16serverRouter.use('/', contactRouter)
fd8710b8 17serverRouter.use('/', logsRouter)
5d79474c 18serverRouter.use('/', debugRouter)
51548b31
C
19
20// ---------------------------------------------------------------------------
21
22export {
4610bc5b 23 serverRouter
51548b31 24}