diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-19 16:12:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-19 16:12:07 +0200 |
commit | d9bdd007d7a1368d2a13127ecb5c0a81a18a8c04 (patch) | |
tree | 67cb4d2774dd7127499b882a5aa5069ea6fa86b2 /server/initializers/constants.ts | |
parent | 12ba460e9ebf4951f9c1caee8822a8ca1523563f (diff) | |
download | PeerTube-d9bdd007d7a1368d2a13127ecb5c0a81a18a8c04.tar.gz PeerTube-d9bdd007d7a1368d2a13127ecb5c0a81a18a8c04.tar.zst PeerTube-d9bdd007d7a1368d2a13127ecb5c0a81a18a8c04.zip |
Put config redundancy strategies in "strategies" subkey
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index fa9093918..881978753 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -212,7 +212,9 @@ const CONFIG = { | |||
212 | } | 212 | } |
213 | }, | 213 | }, |
214 | REDUNDANCY: { | 214 | REDUNDANCY: { |
215 | VIDEOS: buildVideosRedundancy(config.get<any[]>('redundancy.videos')) | 215 | VIDEOS: { |
216 | STRATEGIES: buildVideosRedundancy(config.get<any[]>('redundancy.videos.strategies')) | ||
217 | } | ||
216 | }, | 218 | }, |
217 | ADMIN: { | 219 | ADMIN: { |
218 | get EMAIL () { return config.get<string>('admin.email') } | 220 | get EMAIL () { return config.get<string>('admin.email') } |