diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-21 11:33:31 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-21 11:33:31 +0200 |
commit | b3d92510157f9066ea7fa82c303bea7a10eb55b6 (patch) | |
tree | b5879aae311680ad0014a2a90f82b5ca180a836a /server/initializers | |
parent | 80a6c9e76fda57f01e37fe4620771ae70738a211 (diff) | |
download | PeerTube-b3d92510157f9066ea7fa82c303bea7a10eb55b6.tar.gz PeerTube-b3d92510157f9066ea7fa82c303bea7a10eb55b6.tar.zst PeerTube-b3d92510157f9066ea7fa82c303bea7a10eb55b6.zip |
Server: Uploads -> Videos
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/checker.js | 2 | ||||
-rw-r--r-- | server/initializers/constants.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/checker.js b/server/initializers/checker.js index 85e9bc98b..0bc5df92f 100644 --- a/server/initializers/checker.js +++ b/server/initializers/checker.js | |||
@@ -17,7 +17,7 @@ function checkConfig () { | |||
17 | const required = [ 'listen.port', | 17 | const required = [ 'listen.port', |
18 | 'webserver.https', 'webserver.host', 'webserver.port', | 18 | 'webserver.https', 'webserver.host', 'webserver.port', |
19 | 'database.host', 'database.port', 'database.suffix', | 19 | 'database.host', 'database.port', 'database.suffix', |
20 | 'storage.certs', 'storage.uploads', 'storage.logs', 'storage.thumbnails' | 20 | 'storage.certs', 'storage.videos', 'storage.logs', 'storage.thumbnails' |
21 | ] | 21 | ] |
22 | const miss = [] | 22 | const miss = [] |
23 | 23 | ||
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index fb1cbc5f3..f77c4948f 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -38,7 +38,7 @@ const CONFIG = { | |||
38 | STORAGE: { | 38 | STORAGE: { |
39 | CERT_DIR: path.join(__dirname, '..', '..', config.get('storage.certs')), | 39 | CERT_DIR: path.join(__dirname, '..', '..', config.get('storage.certs')), |
40 | LOG_DIR: path.join(__dirname, '..', '..', config.get('storage.logs')), | 40 | LOG_DIR: path.join(__dirname, '..', '..', config.get('storage.logs')), |
41 | UPLOAD_DIR: path.join(__dirname, '..', '..', config.get('storage.uploads')), | 41 | VIDEOS_DIR: path.join(__dirname, '..', '..', config.get('storage.videos')), |
42 | THUMBNAILS_DIR: path.join(__dirname, '..', '..', config.get('storage.thumbnails')), | 42 | THUMBNAILS_DIR: path.join(__dirname, '..', '..', config.get('storage.thumbnails')), |
43 | TORRENTS_DIR: path.join(__dirname, '..', '..', config.get('storage.torrents')) | 43 | TORRENTS_DIR: path.join(__dirname, '..', '..', config.get('storage.torrents')) |
44 | }, | 44 | }, |