From 4b060c7dba034f76007f41d088778e569e69d2af Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Fri, 22 Jun 2018 21:07:30 +0200 Subject: Rebrand HackMD to CodiMD Signed-off-by: Sheogorath --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.js') diff --git a/app.js b/app.js index bfb5a49a..a9bd2ec8 100644 --- a/app.js +++ b/app.js @@ -234,7 +234,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) { -- cgit v1.2.3 From a762928e971d0a21799cd15818647518da36db93 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Sun, 24 Jun 2018 13:59:18 +0200 Subject: 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 --- app.js | 1 + 1 file changed, 1 insertion(+) (limited to 'app.js') diff --git a/app.js b/app.js index a9bd2ec8..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 -- cgit v1.2.3