title: node js express routing request get called twice
body: <p>I'm building an app with Nodejs and when a page load the get request get called twice. Here is the request for the index page.</p>
  
  <p>Any idea why this is happening and how to fix it?</p>
  
  <pre><code>router.get("/",(req,res)=&gt;{ 
      res.render("index",{csrfToken: req.csrfToken()}); 
  });
  </code></pre>