diff options
author | Sheogorath | 2018-06-24 13:59:18 +0200 |
---|---|---|
committer | Sheogorath | 2018-06-24 14:05:41 +0200 |
commit | a762928e971d0a21799cd15818647518da36db93 (patch) | |
tree | 1e454924c3c44782cad72b759a28b59905359a67 /app.js | |
parent | 23c33c0c046a9a27b2a31d334f6f818d8b1b3459 (diff) |
Do final internal renameing
A little minor change, by moving the CodiMD version header in its own
middleware. Should simplify to determine the version number of the
Backend in future.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to '')
-rw-r--r-- | app.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -163,6 +163,7 @@ app.use(passport.session()) 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/codiMDVersion')) // routes need sessions // template files |