feat: mise à jour sécurité CVE-2025-55182 (Next.js 15.5.7, React 19.1.2)

This commit is contained in:
jessy-david-dev
2026-02-08 17:24:48 +01:00
commit b9a9d687b6
64 changed files with 15638 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { auth } from "@/auth";
import { redirect } from "next/navigation";
import AddProjectForm from "./AddProjectForm";
export const dynamic = "force-dynamic";
export const metadata = { title: "Ajouter un projet | Dashboard" };
export default async function AddProjectPage() {
const session = await auth();
if (!session) redirect("/");
return (
<section className="mx-auto max-w-xl px-4 py-10">
<div className="">
<h1 className="text-xl font-semibold text-red-400">
Ajouter un projet
</h1><br />
<AddProjectForm />
</div>
</section>
);
}