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