mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Use a class for youtube-dl
This commit is contained in:
parent
ac2a5b5427
commit
1bcb03a100
8 changed files with 368 additions and 364 deletions
|
@ -2,7 +2,7 @@ import * as cors from 'cors'
|
|||
import * as express from 'express'
|
||||
import { join } from 'path'
|
||||
import { serveIndexHTML } from '@server/lib/client-html'
|
||||
import { getRegisteredPlugins, getRegisteredThemes } from '@server/lib/config'
|
||||
import { getEnabledResolutions, getRegisteredPlugins, getRegisteredThemes } from '@server/lib/config'
|
||||
import { HttpStatusCode } from '@shared/core-utils/miscs/http-error-codes'
|
||||
import { HttpNodeinfoDiasporaSoftwareNsSchema20 } from '../../shared/models/nodeinfo'
|
||||
import { root } from '../helpers/core-utils'
|
||||
|
@ -18,7 +18,6 @@ import {
|
|||
WEBSERVER
|
||||
} from '../initializers/constants'
|
||||
import { getThemeOrDefault } from '../lib/plugins/theme-utils'
|
||||
import { getEnabledResolutions } from '../lib/video-transcoding'
|
||||
import { asyncMiddleware } from '../middlewares'
|
||||
import { cacheRoute } from '../middlewares/cache'
|
||||
import { UserModel } from '../models/account/user'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue