11 lines
468 B
TypeScript
11 lines
468 B
TypeScript
// AK-SET-01 — legacy plugin audit path; the id has to survive the redirect.
|
|
import type { LoaderFunctionArgs } from "react-router";
|
|
import { legacySettingsRedirect } from "./legacy-redirects.server";
|
|
|
|
export const loader = ({ request, params }: LoaderFunctionArgs) =>
|
|
legacySettingsRedirect({ request, params }, `settings/integrations/plugins/${encodeURIComponent(params.id ?? "")}/audit`);
|
|
|
|
export default function LegacyPluginAuditRedirect() {
|
|
return null;
|
|
}
|