deconst / content-service

An API for storing, indexing and retrieving documentation
MIT License
4 stars 9 forks source link

Handle trailing slashes #65

Closed smashwilson closed 8 years ago

smashwilson commented 8 years ago

When I'm used to hitting presenter APIs with curl and then I flip over to content service work, I always forget and leave trailing slashes on URLs, which makes the content service :boom:. Let's canonicalize then without a trailing slash.

Fixes deconst/deconst-docs#200.