Skip to content

Commit

Permalink
Disable favicon request errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kchung committed Apr 1, 2018
1 parent f504b42 commit 1305ac6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ exports.listen = function(port) {
app.use(bodyParser.text({type: "*/*"}));
app.use(expressLogging(console));

app.get("/favicon.ico", function(req, res) {
res.status(204).end();
});
app.all("*", createHandler(dir));

app.listen(port, function(err) {
Expand Down

0 comments on commit 1305ac6

Please sign in to comment.