diff options
Diffstat (limited to 'shared/models/server/server-config.model.ts')
-rw-r--r-- | shared/models/server/server-config.model.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index 217d142cd..38e1941d8 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' | 1 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' |
2 | import { CONFIG } from '../../../server/initializers' | ||
2 | 3 | ||
3 | export interface ServerConfig { | 4 | export interface ServerConfig { |
4 | serverVersion: string | 5 | serverVersion: string |
@@ -23,6 +24,14 @@ export interface ServerConfig { | |||
23 | enabledResolutions: number[] | 24 | enabledResolutions: number[] |
24 | } | 25 | } |
25 | 26 | ||
27 | import: { | ||
28 | video: { | ||
29 | http: { | ||
30 | enabled: boolean | ||
31 | } | ||
32 | } | ||
33 | } | ||
34 | |||
26 | avatar: { | 35 | avatar: { |
27 | file: { | 36 | file: { |
28 | size: { | 37 | size: { |