From 11c26aeeeed3d29eb32393dfcdb261defd7fb3fe Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Thu, 26 Aug 2021 23:03:26 +0100 Subject: [PATCH] :zap: Uses HOST env var instead --- services/print-message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/print-message.js b/services/print-message.js index d7d19ed0..b15d2899 100644 --- a/services/print-message.js +++ b/services/print-message.js @@ -23,7 +23,7 @@ module.exports = (ip, port, isDocker) => { const blanks = (count) => printChars(count, ' '); if (isDocker) { // Prepare message for Docker users - const containerId = process.env.HOSTNAME || undefined; + const containerId = process.env.HOST || undefined; msg = `${chars.BLUE}${stars(91)}${chars.BR}${chars.RESET}` + `${chars.CYAN}Welcome to Dashy! 🚀${chars.RESET}${chars.BR}` + `${chars.GREEN}Your new dashboard is now up and running `