diff --git a/lib/config/index.js b/lib/config/index.js index c1005b0..b848096 100644 --- a/lib/config/index.js +++ b/lib/config/index.js @@ -101,6 +101,10 @@ config.serverURL = (function getserverurl () { return url })() +if (config.serverURL === '') { + logger.warn('Neither \'domain\' nor \'CMD_DOMAIN\' is configured. This can cause issues with various components.\nHint: Make sure \'protocolUseSSL\' and \'urlAddPort\' or \'CMD_PROTOCOL_USESSL\' and \'CMD_URL_ADDPORT\' are configured properly.') +} + config.Environment = Environment // auth method diff --git a/package.json b/package.json index 6d2f35f..cf1e706 100644 --- a/package.json +++ b/package.json @@ -115,8 +115,8 @@ "sequelize": "^3.28.0", "sequelize-cli": "^2.5.1", "shortid": "2.2.8", - "socket.io": "~2.0.4", - "socket.io-client": "~2.0.4", + "socket.io": "~2.1.1", + "socket.io-client": "~2.1.1", "spin.js": "^2.3.2", "sqlite3": "^4.0.1", "store": "^2.0.12", diff --git a/public/views/codimd/foot.ejs b/public/views/codimd/foot.ejs index 9b1c68d..3a7fefd 100644 --- a/public/views/codimd/foot.ejs +++ b/public/views/codimd/foot.ejs @@ -12,7 +12,7 @@ - +