79585802

Date: 2025-04-22 06:24:58
Score: 1
Natty:
Report link

There is a problem with express 5+, it's using path-to-regexp library, and they changed the rules.
Instead of using:

.get('/**', xxxx) / .get('/*', xxxx)


Use this workaround:

.get('/*\w', xxxx)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user13761567