We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, How can I set status code to 404 when I display notFound page ?
My page is 200 but I want 404 status code
Thanks for all
renderer.renderToString(context, (err, html) => { if (err) { if (err.message === 404) { res.status(404).end('Page not found'); } else { // eslint-disable-next-line no-console console.log(err); res.status(500).end('Internal Server Error'); } } res.end(html); });
The text was updated successfully, but these errors were encountered:
same issue here
Sorry, something went wrong.
me issue here
where ?
No branches or pull requests
Hi,
How can I set status code to 404 when I display notFound page ?
My page is 200 but I want 404 status code
Thanks for all
The text was updated successfully, but these errors were encountered: