Tuesday, 23 May 2017

Express.js - ugly ID in the url

I made a blog using node.js and express.js. Every time I hit into a post my URL looks like:

http://localhost:8081/post/5923a7dd33f9fe07a4832283/show

That long string is my post's ID. I would like to change that to something prettier like 'my-post-title'. Is there any tool I could use?



via Ezequiel Ramiro

No comments:

Post a Comment