mirror of https://github.com/status-im/codimd.git
refactor: Rename checkURiVaild to checkURIValid to fit coding standard
This commit is contained in:
parent
8c2b00b05a
commit
60ca6ed56c
3
app.js
3
app.js
|
@ -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'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue