aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/checker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/checker.js b/server/initializers/checker.js
index ec7bc0ad2..44d9ea85b 100644
--- a/server/initializers/checker.js
+++ b/server/initializers/checker.js
@@ -34,7 +34,7 @@ function createDirectoriesIfNotExist () {
34 for (var key of Object.keys(storages)) { 34 for (var key of Object.keys(storages)) {
35 var dir = storages[key] 35 var dir = storages[key]
36 try { 36 try {
37 mkdirp.sync(path.join(__dirname, '..', dir)) 37 mkdirp.sync(path.join(__dirname, '..', '..', dir))
38 } catch (error) { 38 } catch (error) {
39 throw new Error('Cannot create ' + path + ':' + error) 39 throw new Error('Cannot create ' + path + ':' + error)
40 } 40 }