diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-16 16:25:53 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-02-18 13:38:09 +0100 |
commit | 90a8bd305de4153ec21137a73ff482dcc2e3e19b (patch) | |
tree | 2e35b5504ec11bc51579c92a70c77ed3d5ace816 /server/initializers/config.ts | |
parent | 684cdacbbd775b5f404dd7b373e02dd21baf5ff0 (diff) | |
download | PeerTube-90a8bd305de4153ec21137a73ff482dcc2e3e19b.tar.gz PeerTube-90a8bd305de4153ec21137a73ff482dcc2e3e19b.tar.zst PeerTube-90a8bd305de4153ec21137a73ff482dcc2e3e19b.zip |
Dissociate video file names and video uuid
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index 930fd784e..21ca78584 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -266,6 +266,9 @@ const CONFIG = { | |||
266 | }, | 266 | }, |
267 | VIDEO_CAPTIONS: { | 267 | VIDEO_CAPTIONS: { |
268 | get SIZE () { return config.get<number>('cache.captions.size') } | 268 | get SIZE () { return config.get<number>('cache.captions.size') } |
269 | }, | ||
270 | TORRENTS: { | ||
271 | get SIZE () { return config.get<number>('cache.torrents.size') } | ||
269 | } | 272 | } |
270 | }, | 273 | }, |
271 | INSTANCE: { | 274 | INSTANCE: { |