summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Cheng-Han2017-05-08 00:52:13 +0800
committerRaccoon Li2017-05-08 20:35:51 +0800
commitcceb5b1a2695ac8a93deed66c28eed8e81f69d0d (patch)
tree4d77ba2b867f4b97b3c3c10d6f76b104f78d05e4
parent0ef0e705794689b79767a1bd5de0385dfb084143 (diff)
Fix import module name typo in app.js
Diffstat (limited to '')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index ccb75da7..f7b63cdf 100644
--- a/app.js
+++ b/app.js
@@ -152,7 +152,7 @@ app.use(passport.session())
// check uri is valid before going further
app.use(require('./lib/web/middleware/checkURIValid'))
// redirect url without trailing slashes
-app.use(require('./lib/web/middleware/redirectwithoutTrailingSlashes'))
+app.use(require('./lib/web/middleware/redirectWithoutTrailingSlashes'))
// routes need sessions
// template files