summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-06-26 21:38:02 +0200
committerGitHub2018-06-26 21:38:02 +0200
commit6634fac84964d4f292599a9f368c182e6f10045c (patch)
treed93e6a6574ad972a27b372fc12e0539b57ca8868 /app.js
parentd87505d5836ea1bad60c0e2c2a8aa25b9b4e1590 (diff)
parent2184491f4ac4b224e26fcc4b54d792dd4e82178f (diff)
Merge pull request #850 from SISheogorath/rebrand/CodiMD
Rebrand HackMD CE to CodiMD
Diffstat (limited to 'app.js')
-rw-r--r--app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app.js b/app.js
index bfb5a49a..e2479137 100644
--- a/app.js
+++ b/app.js
@@ -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
@@ -234,7 +235,7 @@ process.on('uncaughtException', function (err) {
// install exit handler
function handleTermSignals () {
- logger.info('hackmd has been killed by signal, try to exit gracefully...')
+ logger.info('CodiMD has been killed by signal, try to exit gracefully...')
realtime.maintenance = true
// disconnect all socket.io clients
Object.keys(io.sockets.sockets).forEach(function (key) {