diff options
| author | BoHong Li | 2017-04-13 21:28:00 +0800 |
|---|---|---|
| committer | Raccoon Li | 2017-05-08 19:29:07 +0800 |
| commit | 60ca6ed56cc896acb0fd9650377ebfc6d0e6c486 (patch) | |
| tree | 353b620a8cce4f9a94ff2df4a9527c2124c9b266 | |
| parent | 8c2b00b05a6492bdef9a3c1f9ab3130e4f042337 (diff) | |
refactor: Rename checkURiVaild to checkURIValid to fit coding standard
| -rw-r--r-- | app.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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')) |
