docs: Response object should call .send() and not .end() (#671)

This commit is contained in:
Augusto Goulart
2018-08-29 01:07:36 -03:00
committed by Jason Etcovitch
parent ba0616d174
commit c01361fc60

View File

@@ -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')
})
}
```