mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Server: Uploads -> Videos
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user