79271123

Date: 2024-12-11 09:22:38
Score: 1
Natty:
Report link

If your application is running behind a reverse proxy (e.g., Nginx or Heroku), the Express application may interpret incoming HTTPS requests as HTTP. In this case, secure: true will prevent the session cookies from being sent.

app.set('trust proxy', 1);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Erhan Güney