e7a1290246
Next.js 16 + Auth.js v5 skeleton: host→slug middleware, tenant-context layout, OIDC sign-in flow against breakpilot-dev realm. 100% coverage on src/lib. Bumps next to 16.2.6 to clear trivy CVEs in 15.0.3.
11 lines
214 B
TypeScript
11 lines
214 B
TypeScript
import { redirect } from "next/navigation";
|
|
|
|
export default async function TenantRoot({
|
|
params,
|
|
}: {
|
|
params: Promise<{ slug: string }>;
|
|
}) {
|
|
const { slug } = await params;
|
|
redirect(`/${slug}/dashboard`);
|
|
}
|