79178142

Date: 2024-11-11 15:06:20
Score: 0.5
Natty:
Report link

That's because you don't go through isAuthenticated() middleware ;

You might want something like this ;

app.use('/homepage', isAuthenticated);

app.get('/homepage', (req, res) => {
    res.sendFile(__dirname + '/public/homepage.html');
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mike