mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Use 3 tables to represent abuses
This commit is contained in:
parent
72493e44e9
commit
d95d155988
103 changed files with 2142 additions and 1167 deletions
|
@ -3,6 +3,7 @@ import * as express from 'express'
|
|||
import * as RateLimit from 'express-rate-limit'
|
||||
import { badRequest } from '../../helpers/express-utils'
|
||||
import { CONFIG } from '../../initializers/config'
|
||||
import { abuseRouter } from './abuse'
|
||||
import { accountsRouter } from './accounts'
|
||||
import { bulkRouter } from './bulk'
|
||||
import { configRouter } from './config'
|
||||
|
@ -32,6 +33,7 @@ const apiRateLimiter = RateLimit({
|
|||
apiRouter.use(apiRateLimiter)
|
||||
|
||||
apiRouter.use('/server', serverRouter)
|
||||
apiRouter.use('/abuses', abuseRouter)
|
||||
apiRouter.use('/bulk', bulkRouter)
|
||||
apiRouter.use('/oauth-clients', oauthClientsRouter)
|
||||
apiRouter.use('/config', configRouter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue