nose-pluto/nose/bin/apps.tsx
2025-09-21 21:28:33 -07:00

11 lines
280 B
TypeScript

import { apps } from "@/webapp"
export default function () {
const domain = "localhost"
let port = process.env.PORT || "3000"
port = port === "80" ? "" : `:${port}`
return <>
{apps().map(app => <><a href={`http://${app}.${domain}${port}`}>{app}</a>{" "}</>)}
</>
}