Skip to content

Commit a4b882b

Browse files
Spazcoollenzai
authored andcommitted
ADD: robots.txt to favicon app.get
1 parent f55be3c commit a4b882b

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
@@ -26,7 +26,7 @@ app.set('view engine', 'ejs');
2626

2727
app.use(express.static(`${__dirname}/public`));
2828

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

0 commit comments

Comments
 (0)