refactor: Rename checkURiVaild to checkURIValid to fit coding standard

This commit is contained in:
BoHong Li 2017-04-13 21:28:00 +08:00 committed by Raccoon Li
parent 8c2b00b05a
commit 60ca6ed56c

3
app.js
View file

@ -153,8 +153,7 @@ app.use(passport.initialize())
app.use(passport.session()) app.use(passport.session())
// check uri is valid before going further // check uri is valid before going further
app.use(require('./lib/web/middleware/checkURiValid')) app.use(require('./lib/web/middleware/checkURIValid'))
// redirect url without trailing slashes // redirect url without trailing slashes
app.use(require('./lib/web/middleware/redirectwithoutTrailingSlashes')) app.use(require('./lib/web/middleware/redirectwithoutTrailingSlashes'))