mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-05 10:49:16 +02:00
19 lines
497 B
TypeScript
19 lines
497 B
TypeScript
import type { Metadata } from "next";
|
|
import { redirect } from "next/navigation";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Health Checks"
|
|
};
|
|
|
|
type LegacyHealthChecksPageProps = {
|
|
params: Promise<{ orgId: string }>;
|
|
};
|
|
|
|
/** @deprecated Use `/settings/alerting/health-checks` */
|
|
export default async function LegacyHealthChecksRedirect(
|
|
props: LegacyHealthChecksPageProps
|
|
) {
|
|
const params = await props.params;
|
|
redirect(`/${params.orgId}/settings/alerting/health-checks`);
|
|
}
|