What does the url of req get in express's use method?

app.use("/login", function (req, res, next) {
    console.log(req.url) 
    next()
})
app.get("/login", function (req, res, next) {
    console.log(req.url)
})

enter http://127.0.0.1:3000/login why the result is
/
/ login
Why is it inconsistent

Jun.11,2022
Menu