We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae7b227 commit 5359fd7Copy full SHA for 5359fd7
app.js
@@ -32,7 +32,7 @@ wpt(app);
32
33
// catch 404 and forward to error handler
34
app.all('*', function (req, res) {
35
- res.send('what???', 404);
+ res.status(404).send('what???');
36
});
37
38
app.use(function (req, res, next) {
0 commit comments