Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -103,7 +103,7 @@ async function handleEvent(event) { | ... | @@ -103,7 +103,7 @@ async function handleEvent(event) { |
103 | }, | 103 | }, |
104 | body: fs.readFileSync('./photo/1.png') | 104 | body: fs.readFileSync('./photo/1.png') |
105 | }; | 105 | }; |
106 | - request.get('/photo',(req,res)=>{ | 106 | + app.get('/photo',(req,res)=>{ |
107 | res.send(body); | 107 | res.send(body); |
108 | }) | 108 | }) |
109 | 109 | ... | ... |
-
Please register or login to post a comment