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>{" "}</>)}
  </>
}