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