summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app.js3
-rw-r--r--app.json6
2 files changed, 5 insertions, 4 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) {
diff --git a/app.json b/app.json
index 36877e68..6a6142ee 100644
--- a/app.json
+++ b/app.json
@@ -1,5 +1,5 @@
{
- "name": "HackMD",
+ "name": "CodiMD",
"description": "Realtime collaborative markdown notes on all platforms",
"keywords": [
"Collaborative",
@@ -7,8 +7,8 @@
"Notes"
],
"website": "https://hackmd.io",
- "repository": "https://github.com/hackmdio/hackmd",
- "logo": "https://github.com/hackmdio/hackmd/raw/master/public/hackmd-icon-1024.png",
+ "repository": "https://github.com/hackmdio/codimd",
+ "logo": "https://github.com/hackmdio/codimd/raw/master/public/codimd-icon-1024.png",
"success_url": "/",
"env": {
"BUILD_ASSETS": {