diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/server-config-manager.ts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/server/lib/server-config-manager.ts b/server/lib/server-config-manager.ts index 58a37b56c..b78251e8c 100644 --- a/server/lib/server-config-manager.ts +++ b/server/lib/server-config-manager.ts | |||
@@ -42,7 +42,6 @@ class ServerConfigManager { | |||
42 | const defaultTheme = getThemeOrDefault(CONFIG.THEME.DEFAULT, DEFAULT_THEME_NAME) | 42 | const defaultTheme = getThemeOrDefault(CONFIG.THEME.DEFAULT, DEFAULT_THEME_NAME) |
43 | 43 | ||
44 | return { | 44 | return { |
45 | allowEdits: CONFIG.WEBADMIN.CONFIGURATION.EDITS.ALLOWED, | ||
46 | client: { | 45 | client: { |
47 | videos: { | 46 | videos: { |
48 | miniature: { | 47 | miniature: { |
@@ -50,6 +49,15 @@ class ServerConfigManager { | |||
50 | } | 49 | } |
51 | } | 50 | } |
52 | }, | 51 | }, |
52 | |||
53 | webadmin: { | ||
54 | configuration: { | ||
55 | edition: { | ||
56 | allowed: CONFIG.WEBADMIN.CONFIGURATION.EDITION.ALLOWED | ||
57 | } | ||
58 | } | ||
59 | }, | ||
60 | |||
53 | instance: { | 61 | instance: { |
54 | name: CONFIG.INSTANCE.NAME, | 62 | name: CONFIG.INSTANCE.NAME, |
55 | shortDescription: CONFIG.INSTANCE.SHORT_DESCRIPTION, | 63 | shortDescription: CONFIG.INSTANCE.SHORT_DESCRIPTION, |