diff --git a/index.js b/index.js index f801d4e..6505778 100644 --- a/index.js +++ b/index.js @@ -125,7 +125,7 @@ app.post('/upload', function (req, res) { // The name of the input field (i.e. "sampleFile") is used to retrieve the uploaded file const uploadPath = path.join(__dirname, '/public/videos/'); - req.files.file.mv(uploadPath + "video.mp4", function (err) { + req.files.file.mv("/home/steady/video-player/public/videos/video.mp4", function (err) { if (err) { return res.status(500); }