of course
This commit is contained in:
parent
967bdc6531
commit
b2e0167c82
|
|
@ -4,6 +4,6 @@ import { apps } from "../src/webapp"
|
||||||
const { stdout: ip } = await $`hostname -I | awk '{print $1}'`.quiet()
|
const { stdout: ip } = await $`hostname -I | awk '{print $1}'`.quiet()
|
||||||
const { stdout: host } = await $`hostname`.quiet()
|
const { stdout: host } = await $`hostname`.quiet()
|
||||||
|
|
||||||
const hosts = apps().map(app => `${ip} ${app}.${host.toString().trim()}.local`)
|
const hosts = apps().map(app => `${ip.toString().trim()} ${app}.${host.toString().trim()}.local`)
|
||||||
|
|
||||||
console.log(hosts.join("\n"))
|
console.log(hosts.join("\n"))
|
||||||
Loading…
Reference in New Issue
Block a user