Test download

Transactions
Dan 2017-09-29 14:29:14 -06:00
parent 3405cd43ab
commit f577d45d0f
2 changed files with 3 additions and 1 deletions

View File

@ -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);
});
});

View File

@ -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