Skip to content

Commit

Permalink
Removed unnecessary argument. Fixes #44 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshpai authored and XhmikosR committed Oct 29, 2019
1 parent 8de46a0 commit adaf32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const staticify = (root, options) => {
return next();
}

serve(req, res)
serve(req)
.on('error', err => {
if (err.status === 404) {
return next();
Expand Down

0 comments on commit adaf32c

Please sign in to comment.