3 ms·
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){ }); catche
by overcast 9y ago
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