expressjs / express

Fast, unopinionated, minimalist web framework for node.
https://expressjs.com
MIT License
65.75k stars 16.38k forks source link

obsolete code in examples/search #6158

Closed leeli0 closed 2 weeks ago

leeli0 commented 2 weeks ago

Path like /search/:query? isn't supported by express 5.x anymore. Also, the APIs of reids package has changed to async functions, the names changed to camel-cased style. How to update these outdated code? I tried to update one example, no one responded, so I thing I may do something wrong.