From 2f77d6981b2f61aca907e43ccdbe546b5d3dfb6a Mon Sep 17 00:00:00 2001 From: William Boman Date: Tue, 15 Nov 2016 15:21:34 +0100 Subject: [PATCH] src/server: log config path on start-up --- src/server.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/server.js b/src/server.js index 8a8c9898..f4ed7c72 100644 --- a/src/server.js +++ b/src/server.js @@ -76,9 +76,10 @@ module.exports = function() { manager.sockets = sockets; - let protocol = config.https.enable ? "https" : "http"; - let host = config.host || "*"; + const protocol = config.https.enable ? "https" : "http"; + const host = config.host || "*"; log.info("The Lounge", Helper.getVersion(), "is now running"); + log.info(`Configuration file: ${Helper.CONFIG_PATH}`); log.info(`Available on: ${protocol}://${host}:${config.port}/ in ${config.public ? "public" : "private"} mode`); log.info("Press ctrl-c to stop\n");