mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-04 11:34:19 +00:00
move edit resource to proxy subpath
This commit is contained in:
10
src/app/[orgId]/settings/resources/proxy/[niceId]/page.tsx
Normal file
10
src/app/[orgId]/settings/resources/proxy/[niceId]/page.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
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`
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user