은승우

Update app.js

Showing 1 changed file with 1 additions and 1 deletions
...@@ -104,7 +104,7 @@ async function handleEvent(event) { ...@@ -104,7 +104,7 @@ async function handleEvent(event) {
104 body: fs.readFileSync("./photo/1.png") 104 body: fs.readFileSync("./photo/1.png")
105 }; 105 };
106 app.get('/photo',(req,res)=>{ 106 app.get('/photo',(req,res)=>{
107 - res.send(chunk); 107 + res.send(chunk+"png");
108 }) 108 })
109 /* 109 /*
110 request.post(options, function (error, response, body) { 110 request.post(options, function (error, response, body) {
......