News for hackers. Stuff that matters.
Re:Choosing between names and identifiers in URLs by overcast on Tuesday October 17, 2017 @02:52PM (#15493700)
This is the way I've always done it as well, and super easy to implement.

For example.

router.get('/article/:article_shortid*?',function(req,res){ });

catches /article/28424824/this-is-my-article, and also /article/28424824

There are no comments on this comment yet.