当我收到2个请求时,如何阻止Goolge chrome中的收藏夹请求?
const express= require('express');
const app=express();
const port=3000;
app.use((req,res,next)=>{
console.log("In the Middleware");
next();
});
app.use((req,next)=>{
console.log("In the Other Middleware");
res.send("<h1>Hello From Express</h1>");
});
app.listen(port,()=>{
console.log('App running at port '+port);
});
我该怎么办?