my route is calling twice,am using express, I have checked some link related to this
node.js page refresh calling resources twice?
so i have added console.log(req.url),
My output is
Hi..
/
Hi..
/
My code:
app.get('/', function (req, res) {
console.log("Hi..")
console.log(req.url)
});
How do i solve this issue?