From b2e0167c823ce73bae247f139c018d4093b28df4 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Tue, 16 Sep 2025 21:20:42 -0700 Subject: [PATCH] of course --- scripts/generate-hosts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-hosts.ts b/scripts/generate-hosts.ts index e52fe1f..b265061 100644 --- a/scripts/generate-hosts.ts +++ b/scripts/generate-hosts.ts @@ -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")) \ No newline at end of file