Hello, Manyhp. Welcome to the Auth0 Community. That first app.get ("/", (req, res) => { … });
is a placeholder for the existing code to help you visually identify where you need to add the new function:
app.get ("/ user", (req, res) => {
res.render (“user”, {title: “Profile”, userProfile: {nickname: “Auth0”}});
});
You don’t need to add or replace app.get ("/", (req, res) => { … });
in your code, only add the new function below it.