diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-05 13:54:32 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-07-24 10:58:16 +0200 |
commit | 345da516fae80f24c90c2196e96393b489af2243 (patch) | |
tree | 64d72d25a531626c1d4a6337460dae4e32386f2a /server/initializers/config.ts | |
parent | 297067399db2bf7505561d67667ca0d559a8e42b (diff) | |
download | PeerTube-345da516fae80f24c90c2196e96393b489af2243.tar.gz PeerTube-345da516fae80f24c90c2196e96393b489af2243.tar.zst PeerTube-345da516fae80f24c90c2196e96393b489af2243.zip |
WIP plugins: add ability to register plugins
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index eefb45fb9..6737edcd6 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -63,7 +63,8 @@ const CONFIG = { | |||
63 | PREVIEWS_DIR: buildPath(config.get<string>('storage.previews')), | 63 | PREVIEWS_DIR: buildPath(config.get<string>('storage.previews')), |
64 | CAPTIONS_DIR: buildPath(config.get<string>('storage.captions')), | 64 | CAPTIONS_DIR: buildPath(config.get<string>('storage.captions')), |
65 | TORRENTS_DIR: buildPath(config.get<string>('storage.torrents')), | 65 | TORRENTS_DIR: buildPath(config.get<string>('storage.torrents')), |
66 | CACHE_DIR: buildPath(config.get<string>('storage.cache')) | 66 | CACHE_DIR: buildPath(config.get<string>('storage.cache')), |
67 | PLUGINS_DIR: buildPath(config.get<string>('storage.plugins')) | ||
67 | }, | 68 | }, |
68 | WEBSERVER: { | 69 | WEBSERVER: { |
69 | SCHEME: config.get<boolean>('webserver.https') === true ? 'https' : 'http', | 70 | SCHEME: config.get<boolean>('webserver.https') === true ? 'https' : 'http', |