diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-22 16:58:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-22 17:24:32 +0100 |
commit | 92e66e04f7f51d37b465cff442ce47f6d6d7cadd (patch) | |
tree | 4475c5c601c0f6673ca56afba5b7f70a4fae4ec3 /server/initializers/checker-after-init.ts | |
parent | 1808a1f8e4b7b102823492a2007a46929aebf189 (diff) | |
download | PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.gz PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.zst PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.zip |
Rename studio to editor
Diffstat (limited to 'server/initializers/checker-after-init.ts')
-rw-r--r-- | server/initializers/checker-after-init.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/initializers/checker-after-init.ts b/server/initializers/checker-after-init.ts index 635a32010..f65798c42 100644 --- a/server/initializers/checker-after-init.ts +++ b/server/initializers/checker-after-init.ts | |||
@@ -49,7 +49,7 @@ function checkConfig () { | |||
49 | checkSearchConfig() | 49 | checkSearchConfig() |
50 | checkLiveConfig() | 50 | checkLiveConfig() |
51 | checkObjectStorageConfig() | 51 | checkObjectStorageConfig() |
52 | checkVideoEditorConfig() | 52 | checkVideoStudioConfig() |
53 | } | 53 | } |
54 | 54 | ||
55 | // We get db by param to not import it in this file (import orders) | 55 | // We get db by param to not import it in this file (import orders) |
@@ -260,8 +260,8 @@ function checkObjectStorageConfig () { | |||
260 | } | 260 | } |
261 | } | 261 | } |
262 | 262 | ||
263 | function checkVideoEditorConfig () { | 263 | function checkVideoStudioConfig () { |
264 | if (CONFIG.VIDEO_EDITOR.ENABLED === true && CONFIG.TRANSCODING.ENABLED === false) { | 264 | if (CONFIG.VIDEO_STUDIO.ENABLED === true && CONFIG.TRANSCODING.ENABLED === false) { |
265 | throw new Error('Video editor cannot be enabled if transcoding is disabled') | 265 | throw new Error('Video studio cannot be enabled if transcoding is disabled') |
266 | } | 266 | } |
267 | } | 267 | } |