Skip to content

Commit 5799948

Browse files
Spazcoollenzai
authored andcommitted
Change favicon response function
1 parent a4b882b commit 5799948

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ app.set('view engine', 'ejs');
2727
app.use(express.static(`${__dirname}/public`));
2828

2929
app.get(['/favicon.ico', '/robots.txt'], (req, res) => {
30-
res.status(204);
30+
res.sendStatus(204);
3131
});
3232

3333
app.get('/search', (req, res) => {

0 commit comments

Comments
 (0)