diff options
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 8 | ||||
-rw-r--r-- | shared/models/server/server-config.model.ts | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index 9c4718e43..46320435d 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts | |||
@@ -55,4 +55,12 @@ export interface CustomConfig { | |||
55 | '1080p': boolean | 55 | '1080p': boolean |
56 | } | 56 | } |
57 | } | 57 | } |
58 | |||
59 | import: { | ||
60 | videos: { | ||
61 | http: { | ||
62 | enabled: boolean | ||
63 | } | ||
64 | } | ||
65 | } | ||
58 | } | 66 | } |
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: { |