I recently started working in Node.js and in the app.js file there is this line:
app.use(express.favicon());
Now, how do I set up my own custom favicon.ico?
No extra middlewares required. Just use:
app.use('/favicon.ico', express.static('images/favicon.ico'));