mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-04 03:24:09 +00:00
16 lines
402 B
TypeScript
16 lines
402 B
TypeScript
import type { Metadata } from "next";
|
|
import { redirect } from "next/navigation";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Public Resource"
|
|
};
|
|
|
|
export default async function ResourcePage(props: {
|
|
params: Promise<{ niceId: string; orgId: string }>;
|
|
}) {
|
|
const params = await props.params;
|
|
redirect(
|
|
`/${params.orgId}/settings/resources/proxy/${params.niceId}/proxy`
|
|
);
|
|
}
|