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
1 changed files with 1 additions and 2 deletions

3
app.js
View File

@ -153,8 +153,7 @@ app.use(passport.initialize())
app.use(passport.session())
// 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
app.use(require('./lib/web/middleware/redirectwithoutTrailingSlashes'))