diff --git a/docs/http.md b/docs/http.md index 871bb13..3f59506 100644 --- a/docs/http.md +++ b/docs/http.md @@ -16,7 +16,7 @@ module.exports = app => { // Add a new route router.get('/hello-world', (req, res) => { - res.end('Hello World') + res.send('Hello World') }) } ```