Commit 6850612d91a9f98c2a5d090e8a7d9ad93ea4e02d
1 parent
aee6c827
Exists in
master
and in
1 other branch
Remove linhas de debug em video
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
endpoints/video.js
| ... | ... | @@ -42,8 +42,8 @@ function init(req, res) { |
| 42 | 42 | |
| 43 | 43 | } else if (req.body.video_url !== undefined) { |
| 44 | 44 | http.get(req.body.video_url, function(response) { |
| 45 | - console.log("video_url: downloading"); | |
| 46 | 45 | |
| 46 | + // Salva o arquivo em disco | |
| 47 | 47 | response.pipe(fs.createWriteStream(id)); |
| 48 | 48 | |
| 49 | 49 | var video = { |
| ... | ... | @@ -51,8 +51,6 @@ function init(req, res) { |
| 51 | 51 | 'path': id |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | - console.log("download video"); | |
| 55 | - | |
| 56 | 54 | processVideo(id, video, req, res); |
| 57 | 55 | |
| 58 | 56 | }).on('error', function(e) { | ... | ... |