From a3ea32a6f8b96cbc084eb4019faf530529598590 Mon Sep 17 00:00:00 2001 From: HyunJinNo Date: Sat, 27 Jul 2024 16:54:28 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EC=A0=95=EB=B3=B4=20=EC=82=AD=EC=A0=9C?= =?UTF-8?q?=20=ED=9B=84=20cache=20=EB=AC=B4=ED=9A=A8=ED=99=94=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/api/informations/[id]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/informations/[id]/route.ts b/src/app/api/informations/[id]/route.ts index bce58423..4a41bb80 100644 --- a/src/app/api/informations/[id]/route.ts +++ b/src/app/api/informations/[id]/route.ts @@ -131,7 +131,7 @@ export async function DELETE( throw new Error("Internal Server Error"); } - revalidatePath("/informations/list"); + revalidatePath("/informations", "layout"); return response; } catch (e) { return new Response(JSON.stringify({ error: "Failed to delete data." }), {