은승우

Update app.js

Showing 1 changed file with 1 additions and 1 deletions
...@@ -105,7 +105,7 @@ async function handleEvent(event) { ...@@ -105,7 +105,7 @@ async function handleEvent(event) {
105 }; 105 };
106 106
107 request.post(options, function (error, response, body) { 107 request.post(options, function (error, response, body) {
108 - console.log(mime.lookup(body)); 108 + console.log(mime.lookup(chunk));
109 var data= body.toString('utf-8'); 109 var data= body.toString('utf-8');
110 var text=''; 110 var text='';
111 while(data.indexOf('text\\')!=-1) 111 while(data.indexOf('text\\')!=-1)
......