From 44f74a27dd8b9bc47e68237760e0dcffede8f32d Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 29 Sep 2017 14:38:09 -0600 Subject: [PATCH] File download issues --- Server/src/routes/api/sermons.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Server/src/routes/api/sermons.js b/Server/src/routes/api/sermons.js index 16f0e95..50f3ac8 100644 --- a/Server/src/routes/api/sermons.js +++ b/Server/src/routes/api/sermons.js @@ -64,6 +64,7 @@ router.get("/download/:id",function(req,res){ return; } var file = finalStorage + sermon.file; + console.log(file); if (fs.existsSync(file)){ res.download(file); } else {