summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoHong Li2017-04-13 21:28:00 +0800
committerRaccoon Li2017-05-08 19:29:07 +0800
commit60ca6ed56cc896acb0fd9650377ebfc6d0e6c486 (patch)
tree353b620a8cce4f9a94ff2df4a9527c2124c9b266
parent8c2b00b05a6492bdef9a3c1f9ab3130e4f042337 (diff)
refactor: Rename checkURiVaild to checkURIValid to fit coding standard
Diffstat (limited to '')
-rw-r--r--app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app.js b/app.js
index 68db185b..66329f39 100644
--- a/app.js
+++ b/app.js
@@ -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'))