Change filepath to sermon storage

Transactions
Dan 2017-10-01 16:58:46 -06:00
parent 3991c14fef
commit e062d15c15
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ router.use(upload.single('file'),function(req,res,next){
if (req.file){
req.body.file = req.file.originalname;
req.body.finalPath = finalStorage + req.file.filename;
req.body.tmpPath = req.file.destination + "/" + req.file.filename;
req.body.tmpPath = req.file.destination + req.file.filename;
}
next();
});