mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Limit import depending on transcoding resolutions
This commit is contained in:
parent
64fd6158fd
commit
5e2afe4290
12 changed files with 144 additions and 43 deletions
|
@ -10,6 +10,7 @@ import { CONFIG, reloadConfig } from '../../initializers/config'
|
|||
import { ClientHtml } from '../../lib/client-html'
|
||||
import { asyncMiddleware, authenticate, ensureUserHasRight, openapiOperationDoc } from '../../middlewares'
|
||||
import { customConfigUpdateValidator, ensureConfigIsEditable } from '../../middlewares/validators/config'
|
||||
import { logger } from '@server/helpers/logger'
|
||||
|
||||
const configRouter = express.Router()
|
||||
|
||||
|
@ -112,6 +113,7 @@ async function updateCustomConfig (req: express.Request, res: express.Response)
|
|||
|
||||
const data = customConfig()
|
||||
|
||||
logger.info('coucou', { data })
|
||||
auditLogger.update(
|
||||
getAuditIdFromRes(res),
|
||||
new CustomConfigAuditView(data),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue