diff --git a/README.md b/README.md index 1a70088..399ec99 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ const server = createServer(app) app.use(bodyParser()) -app.get('/', (req, res) => { +app.get('/', ({ res }) => { res.set('Content-Type', 'text/html; charset=utf-8') .send(`