Add TLS feature with Caddy

This commit is contained in:
2026-10-21 09:13:59 +01:00
parent 1462067e72
commit ed4a6f3ec8
109 changed files with 6374 additions and 156 deletions
@@ -0,0 +1,22 @@
import Link from "@/src/components/twui/layout/Link";
import MonoText from "../mono-text";
import type { ClientRouteView } from "@/src/functions/backend/acme/decorate-client-route";
type Props = {
route: ClientRouteView;
};
export default function ClientRouteNameCell({ route }: Props) {
const host_id = Number(route.host_id || 0);
return (
<Link
href={`/admin/hosts/${host_id}/routes/${Number(route.id || 0)}`}
className="border-b-0! no-underline!"
>
<MonoText className="text-fg hover:text-primary">
{route.hostname || route.name || "—"}
</MonoText>
</Link>
);
}