From 3919d4fc0e3be1152c1d362572bfbccca86e31da Mon Sep 17 00:00:00 2001 From: BoHong Li Date: Thu, 13 Apr 2017 02:00:27 +0800 Subject: [PATCH] fix(app.js): Change config.maintenance to realtime.maintenance --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 3530343c..68db185b 100644 --- a/app.js +++ b/app.js @@ -229,7 +229,7 @@ process.on('uncaughtException', function (err) { // install exit handler function handleTermSignals () { logger.info('hackmd has been killed by signal, try to exit gracefully...') - config.maintenance = true + realtime.maintenance = true // disconnect all socket.io clients Object.keys(io.sockets.sockets).forEach(function (key) { var socket = io.sockets.sockets[key]