]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/constants.ts
Add import http enabled configuration
[github/Chocobozzz/PeerTube.git] / server / initializers / constants.ts
index 5bfeb3746d128a058b25bffd5f560a6d3b589771..069d9b2e87bb07afe43e4384a8fdb6d12e498554 100644 (file)
@@ -206,6 +206,13 @@ const CONFIG = {
       get '1080p' () { return config.get<boolean>('transcoding.resolutions.1080p') }
     }
   },
+  IMPORT: {
+    VIDEOS: {
+      HTTP: {
+        get ENABLED () { return config.get<boolean>('import.videos.http.enabled') }
+      }
+    }
+  },
   CACHE: {
     PREVIEWS: {
       get SIZE () { return config.get<number>('cache.previews.size') }