aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-05 13:54:32 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commit345da516fae80f24c90c2196e96393b489af2243 (patch)
tree64d72d25a531626c1d4a6337460dae4e32386f2a /server/initializers/config.ts
parent297067399db2bf7505561d67667ca0d559a8e42b (diff)
downloadPeerTube-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.ts3
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',