aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/v1/videos.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/v1/videos.js')
-rw-r--r--server/controllers/api/v1/videos.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/v1/videos.js b/server/controllers/api/v1/videos.js
index d633af76d..ee47ce7ac 100644
--- a/server/controllers/api/v1/videos.js
+++ b/server/controllers/api/v1/videos.js
@@ -25,7 +25,7 @@ const Video = mongoose.model('Video')
25// multer configuration 25// multer configuration
26const storage = multer.diskStorage({ 26const storage = multer.diskStorage({
27 destination: function (req, file, cb) { 27 destination: function (req, file, cb) {
28 cb(null, constants.CONFIG.STORAGE.UPLOAD_DIR) 28 cb(null, constants.CONFIG.STORAGE.VIDEOS_DIR)
29 }, 29 },
30 30
31 filename: function (req, file, cb) { 31 filename: function (req, file, cb) {