diff options
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 | }, |