mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Add import http enabled configuration
This commit is contained in:
parent
7e5f9f001d
commit
5d08a6a74e
26 changed files with 385 additions and 12 deletions
|
@ -65,6 +65,13 @@ async function getConfig (req: express.Request, res: express.Response, next: exp
|
|||
transcoding: {
|
||||
enabledResolutions
|
||||
},
|
||||
import: {
|
||||
video: {
|
||||
http: {
|
||||
enabled: CONFIG.IMPORT.VIDEOS.HTTP.ENABLED
|
||||
}
|
||||
}
|
||||
},
|
||||
avatar: {
|
||||
file: {
|
||||
size: {
|
||||
|
@ -225,6 +232,13 @@ function customConfig (): CustomConfig {
|
|||
'720p': CONFIG.TRANSCODING.RESOLUTIONS[ '720p' ],
|
||||
'1080p': CONFIG.TRANSCODING.RESOLUTIONS[ '1080p' ]
|
||||
}
|
||||
},
|
||||
import: {
|
||||
videos: {
|
||||
http: {
|
||||
enabled: CONFIG.IMPORT.VIDEOS.HTTP.ENABLED
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue