From f577d45d0f602fe3b709af3971bec544e2662b7d Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 29 Sep 2017 14:29:14 -0600 Subject: [PATCH] Test download --- Server/src/routes/api/sermons.js | 2 ++ git-post-receive | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Server/src/routes/api/sermons.js b/Server/src/routes/api/sermons.js index 3247e51..3fbc2e2 100644 --- a/Server/src/routes/api/sermons.js +++ b/Server/src/routes/api/sermons.js @@ -64,6 +64,8 @@ router.get("/download/:id",function(req,res){ return; } var file = finalStorage + sermon.file; + console.log("Final Storage",finalStorage); + console.log("Sermon",sermon.file); res.download(file); }); }); diff --git a/git-post-receive b/git-post-receive index 2460c1d..f9aba5f 100644 --- a/git-post-receive +++ b/git-post-receive @@ -1,7 +1,7 @@ #!/bin/sh BUILD_ANGULAR_ARG=$1 -BUILD_ANGULAR=true +BUILD_ANGULAR=false if [ "$BUILD_ANGULAR_ARG" = -ng ]; then BUILD_ANGULAR=true fi