import { redirect } from 'next/navigation'; /** * Legacy route. OCR settings now live on the consolidated AI panel at * `/admin/ai` (the same `` is mounted there alongside * the master AI switch + provider credentials). Kept as a redirect-only * page so any bookmarks / docs / deep links land on the right surface. * * Slated for full removal once the 2026-05-22 admin IA migration has * had a quarter to bed in. */ export default async function OcrLegacyRedirectPage({ params, }: { params: Promise<{ portSlug: string }>; }) { const { portSlug } = await params; redirect(`/${portSlug}/admin/ai`); }