fix trailing slashes
review input fixes

use `req.path != ‘/‘` instead of `req.path.length > 1`
Merge pull request #136 from SergioCrisostomo/trailing-slashes

fix trailing slashes