]>
Commit | Line | Data |
---|---|---|
51548b31 | 1 | import * as express from 'express' |
4610bc5b | 2 | import { serverFollowsRouter } from './follows' |
09cababd | 3 | import { statsRouter } from './stats' |
c48e82b5 | 4 | import { serverRedundancyRouter } from './redundancy' |
b44164bb | 5 | import { serverBlocklistRouter } from './server-blocklist' |
a4101923 | 6 | import { contactRouter } from './contact' |
fd8710b8 | 7 | import { logsRouter } from './logs' |
5d79474c | 8 | import { debugRouter } from './debug' |
51548b31 | 9 | |
4610bc5b | 10 | const serverRouter = express.Router() |
51548b31 | 11 | |
4610bc5b | 12 | serverRouter.use('/', serverFollowsRouter) |
c48e82b5 | 13 | serverRouter.use('/', serverRedundancyRouter) |
09cababd | 14 | serverRouter.use('/', statsRouter) |
b44164bb | 15 | serverRouter.use('/', serverBlocklistRouter) |
a4101923 | 16 | serverRouter.use('/', contactRouter) |
fd8710b8 | 17 | serverRouter.use('/', logsRouter) |
5d79474c | 18 | serverRouter.use('/', debugRouter) |
51548b31 C |
19 | |
20 | // --------------------------------------------------------------------------- | |
21 | ||
22 | export { | |
4610bc5b | 23 | serverRouter |
51548b31 | 24 | } |