of course

This commit is contained in:
Chris Wanstrath 2025-09-16 21:20:42 -07:00
parent 967bdc6531
commit b2e0167c82

View File

@ -4,6 +4,6 @@ import { apps } from "../src/webapp"
const { stdout: ip } = await $`hostname -I | awk '{print $1}'`.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"))