Skip to content

Commit

Permalink
comment log
Browse files Browse the repository at this point in the history
  • Loading branch information
bumaociyuan committed Jun 13, 2016
1 parent 68b90de commit 665ef1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/ios-ipa-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function main() {

app.get('/ipa/:ipa', function(req, res) {
var filename = ipasDir + '/' + req.params.ipa;
console.log(filename);
// console.log(filename);

// This line opens the file as a readable stream
var readStream = fs.createReadStream(filename);
Expand All @@ -110,6 +110,7 @@ function main() {
res.end(err);
});
});

app.get(['/', '/download'], function(req, res, next) {

fs.readFile(path.join(__dirname, '..', 'templates') + '/download.html', function(err, data) {
Expand Down

0 comments on commit 665ef1e

Please sign in to comment.