79466469

Date: 2025-02-25 12:03:13
Score: 2.5
Natty:
Report link

The issue lies in how the router is being mounted in your app.js file. Specifically, the path for app.use("api/post", postRoutes) is missing a leading forward slash (/). This causes Express to treat the path as a relative path, which is why your router is not working as expected

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Addisu Ambaye