]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/v1/videos.js
Server: Uploads -> Videos
[github/Chocobozzz/PeerTube.git] / server / controllers / api / v1 / videos.js
index d633af76dd458f11a6c25ff9940678d54c0da9d7..ee47ce7accd4efc418b0d2ddec91f6df1bc1edac 100644 (file)
@@ -25,7 +25,7 @@ const Video = mongoose.model('Video')
 // multer configuration
 const storage = multer.diskStorage({
   destination: function (req, file, cb) {
-    cb(null, constants.CONFIG.STORAGE.UPLOAD_DIR)
+    cb(null, constants.CONFIG.STORAGE.VIDEOS_DIR)
   },
 
   filename: function (req, file, cb) {