search

Home  >  Q&A  >  body text

node.js - Is there still a way to go after express forwards a redirect? Or access the page directly?

For example, I have a route app.use ('/login', login) and a login page. Then I res.redirect('/login') in other places, then I have to go Is it going to be accessed through routing or directly accessing the login page?
expressframework
Thank you!

代言代言2805 days ago702

reply all(1)I'll reply

  • 为情所困

    为情所困2017-06-10 09:50:54

    Walk by, redirect, tell the browser to re-initiate the request.

    reply
    0
  • Cancelreply