mirror of https://github.com/Lissy93/dashy.git
⚡ Uses HOST env var instead
This commit is contained in:
parent
91f3ae28d6
commit
11c26aeeee
|
@ -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 `
|
||||||
|
|
Loading…
Reference in New Issue