This commit is contained in:
Chris Wanstrath 2025-09-21 21:42:15 -07:00
parent 255fb5102a
commit b19c87b5d6

View File

@ -4,7 +4,7 @@ import { apps } from "@/webapp"
const devMode = process.env.BUN_HOT
export default async function () {
const hostname = await $`hostname`.quiet()
const { stdout: hostname } = await $`hostname`.quiet()
let domain = devMode ? "localhost" : hostname.toString()
if (!devMode && !domain.endsWith(".local")) domain += ".local"