Uses HOST env var instead

This commit is contained in:
Alicia Sykes 2021-08-26 23:03:26 +01:00
parent 91f3ae28d6
commit 11c26aeeee
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module.exports = (ip, port, isDocker) => {
const blanks = (count) => printChars(count, ' '); const blanks = (count) => printChars(count, ' ');
if (isDocker) { if (isDocker) {
// Prepare message for Docker users // 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}` msg = `${chars.BLUE}${stars(91)}${chars.BR}${chars.RESET}`
+ `${chars.CYAN}Welcome to Dashy! 🚀${chars.RESET}${chars.BR}` + `${chars.CYAN}Welcome to Dashy! 🚀${chars.RESET}${chars.BR}`
+ `${chars.GREEN}Your new dashboard is now up and running ` + `${chars.GREEN}Your new dashboard is now up and running `