diff options
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index cf7cd3d74..80eb3f1e7 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -15,7 +15,7 @@ let config: IConfig = require('config') | |||
15 | 15 | ||
16 | // --------------------------------------------------------------------------- | 16 | // --------------------------------------------------------------------------- |
17 | 17 | ||
18 | const LAST_MIGRATION_VERSION = 245 | 18 | const LAST_MIGRATION_VERSION = 240 |
19 | 19 | ||
20 | // --------------------------------------------------------------------------- | 20 | // --------------------------------------------------------------------------- |
21 | 21 | ||
@@ -211,6 +211,9 @@ const CONFIG = { | |||
211 | VIDEOS: { | 211 | VIDEOS: { |
212 | HTTP: { | 212 | HTTP: { |
213 | get ENABLED () { return config.get<boolean>('import.videos.http.enabled') } | 213 | get ENABLED () { return config.get<boolean>('import.videos.http.enabled') } |
214 | }, | ||
215 | TORRENT: { | ||
216 | get ENABLED () { return config.get<boolean>('import.videos.torrent.enabled') } | ||
214 | } | 217 | } |
215 | } | 218 | } |
216 | }, | 219 | }, |