summaryrefslogtreecommitdiff
path: root/lib/web/middleware/redirectWithoutTrailingSlashes.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change config to camel case with backwards compatibilitySheogorath2018-03-251-3/+3
| | | | | | | | This refactors the configs a bit to now use camel case everywhere. This change should help to clean up the config interface and make it better understandable. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* refactor(app.js): Extract middleware to moduleBoHong Li2017-05-081-0/+17
extract check URi is valid, redirect without trailing slashes