]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/checker-after-init.ts
Translated using Weblate (Vietnamese)
[github/Chocobozzz/PeerTube.git] / server / initializers / checker-after-init.ts
index 635a32010b66dab45b1130daabff4e5ff0ada095..f65798c420467abe55a2defb9d23dd59acfcbb6d 100644 (file)
@@ -49,7 +49,7 @@ function checkConfig () {
   checkSearchConfig()
   checkLiveConfig()
   checkObjectStorageConfig()
-  checkVideoEditorConfig()
+  checkVideoStudioConfig()
 }
 
 // We get db by param to not import it in this file (import orders)
@@ -260,8 +260,8 @@ function checkObjectStorageConfig () {
   }
 }
 
-function checkVideoEditorConfig () {
-  if (CONFIG.VIDEO_EDITOR.ENABLED === true && CONFIG.TRANSCODING.ENABLED === false) {
-    throw new Error('Video editor cannot be enabled if transcoding is disabled')
+function checkVideoStudioConfig () {
+  if (CONFIG.VIDEO_STUDIO.ENABLED === true && CONFIG.TRANSCODING.ENABLED === false) {
+    throw new Error('Video studio cannot be enabled if transcoding is disabled')
   }
 }