diff --git a/README.md b/README.md index 820df82..c7a575b 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ router.get(`/api/tweet/render`, async function(req, res) { html: '
Check out what I just did! #cool
' }); res.writeHead(200, { 'Content-Type': 'image/png' }); - res.end(imgBinary, 'binary'); + res.end(image, 'binary'); }); ```