aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/v1
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-21 11:33:31 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-21 11:33:31 +0200
commitb3d92510157f9066ea7fa82c303bea7a10eb55b6 (patch)
treeb5879aae311680ad0014a2a90f82b5ca180a836a /server/controllers/api/v1
parent80a6c9e76fda57f01e37fe4620771ae70738a211 (diff)
downloadPeerTube-b3d92510157f9066ea7fa82c303bea7a10eb55b6.tar.gz
PeerTube-b3d92510157f9066ea7fa82c303bea7a10eb55b6.tar.zst
PeerTube-b3d92510157f9066ea7fa82c303bea7a10eb55b6.zip
Server: Uploads -> Videos
Diffstat (limited to 'server/controllers/api/v1')
-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) {