aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-07 11:08:55 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-07 13:59:06 +0200
commitbf94b6f0a1ac2cd5304f5cc7f85434120489cab8 (patch)
tree5cdf45935c8e574c3232b095b43ae17189603164 /server/initializers
parent82e624233f22eba0230383c7de8a9ed3b69791a6 (diff)
downloadPeerTube-bf94b6f0a1ac2cd5304f5cc7f85434120489cab8.tar.gz
PeerTube-bf94b6f0a1ac2cd5304f5cc7f85434120489cab8.tar.zst
PeerTube-bf94b6f0a1ac2cd5304f5cc7f85434120489cab8.zip
Server: update to webseed implementation (tests, lint...)
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js
index be2e3e943..75065fe72 100644
--- a/server/initializers/constants.js
+++ b/server/initializers/constants.js
@@ -42,7 +42,8 @@ const CONFIG = {
42 CERT_DIR: path.join(__dirname, '..', '..', config.get('storage.certs')), 42 CERT_DIR: path.join(__dirname, '..', '..', config.get('storage.certs')),
43 LOG_DIR: path.join(__dirname, '..', '..', config.get('storage.logs')), 43 LOG_DIR: path.join(__dirname, '..', '..', config.get('storage.logs')),
44 UPLOAD_DIR: path.join(__dirname, '..', '..', config.get('storage.uploads')), 44 UPLOAD_DIR: path.join(__dirname, '..', '..', config.get('storage.uploads')),
45 THUMBNAILS_DIR: path.join(__dirname, '..', '..', config.get('storage.thumbnails')) 45 THUMBNAILS_DIR: path.join(__dirname, '..', '..', config.get('storage.thumbnails')),
46 TORRENTS_DIR: path.join(__dirname, '..', '..', config.get('storage.torrents'))
46 }, 47 },
47 WEBSERVER: { 48 WEBSERVER: {
48 SCHEME: config.get('webserver.https') === true ? 'https' : 'http', 49 SCHEME: config.get('webserver.https') === true ? 'https' : 'http',