How do prevent favicon request in Goolge chrome as I am getting 2 requests?
const express= require('express');
const app=express();
const port=3000;
app.use((req , res , next)=>{
console.log("In the Middleware");
next();
});
app.use((req , res , next)=>{
console.log("In the Other Middleware");
res.send("<h1>Hello From Express</h1>");
});
app.listen(port,()=>{
console.log('App running at port '+port);
});
What should I do please help?