mirror of
https://github.com/thelounge/thelounge
synced 2024-11-10 14:44:13 +00:00
src/server: log config path on start-up
This commit is contained in:
parent
837f78f1ae
commit
2f77d6981b
1 changed files with 3 additions and 2 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue