Fix a typo in Readme

Remove repeated word - status
This commit is contained in:
Prayag Verma 2017-03-25 12:27:49 +05:30 committed by GitHub
parent c4962f09a9
commit a13f30e7d4

View File

@ -120,7 +120,7 @@ This is mostly used for `nuxt generate` and test purposes but you might find ano
nuxt.renderRoute('/about', context) nuxt.renderRoute('/about', context)
.then(function ({ html, error }) { .then(function ({ html, error }) {
// You can check error to know if your app displayed the error page for this route // You can check error to know if your app displayed the error page for this route
// Useful to set the correct status status code if an error appended: // Useful to set the correct status code if an error appended:
if (error) { if (error) {
return res.status(error.statusCode || 500).send(html) return res.status(error.statusCode || 500).send(html)
} }