diff --git a/src/app/api/entry/[id]/route.js b/src/app/api/entry/[id]/route.js index 74f76f5..edb3357 100644 --- a/src/app/api/entry/[id]/route.js +++ b/src/app/api/entry/[id]/route.js @@ -405,9 +405,9 @@ export const PATCH = async (req, route) => { .executeTakeFirst() // Ensure associated paths are now invalidated for next load - submitRevalidation(`en/dashboard/research`); - submitRevalidation(`en/dashboard/research/${entryId}`); - submitRevalidation(`en/maps/${entry.category}/${encodeURIComponent(entry.slug).toLowerCase()}`); + submitRevalidation(`/en/dashboard/research`); + submitRevalidation(`/en/dashboard/research/${entryId}`); + submitRevalidation(`/en/maps/${entry.category}/${encodeURIComponent(entry.slug).toLowerCase()}`); return NextResponse.json({ entry });