Add import http enabled configuration

This commit is contained in:
Chocobozzz 2018-08-03 11:10:31 +02:00
parent 7e5f9f001d
commit 5d08a6a74e
26 changed files with 385 additions and 12 deletions

View file

@ -1,4 +1,5 @@
import { NSFWPolicyType } from '../videos/nsfw-policy.type'
import { CONFIG } from '../../../server/initializers'
export interface ServerConfig {
serverVersion: string
@ -23,6 +24,14 @@ export interface ServerConfig {
enabledResolutions: number[]
}
import: {
video: {
http: {
enabled: boolean
}
}
}
avatar: {
file: {
size: {