aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands
diff options
context:
space:
mode:
Diffstat (limited to 'shared/server-commands')
-rw-r--r--shared/server-commands/server/config-command.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/shared/server-commands/server/config-command.ts b/shared/server-commands/server/config-command.ts
index 1dd6e1ea4..35a1eec7c 100644
--- a/shared/server-commands/server/config-command.ts
+++ b/shared/server-commands/server/config-command.ts
@@ -111,6 +111,16 @@ export class ConfigCommand extends AbstractCommand {
111 }) 111 })
112 } 112 }
113 113
114 enableEditor () {
115 return this.updateExistingSubConfig({
116 newConfig: {
117 videoEditor: {
118 enabled: true
119 }
120 }
121 })
122 }
123
114 getConfig (options: OverrideCommandOptions = {}) { 124 getConfig (options: OverrideCommandOptions = {}) {
115 const path = '/api/v1/config' 125 const path = '/api/v1/config'
116 126