diff --git a/apps/infoalloggi/src/server/utils/revalidationHelper.ts b/apps/infoalloggi/src/server/utils/revalidationHelper.ts index 8cd0a79..8745d06 100644 --- a/apps/infoalloggi/src/server/utils/revalidationHelper.ts +++ b/apps/infoalloggi/src/server/utils/revalidationHelper.ts @@ -1,7 +1,7 @@ export const revalidate = async (path: string) => { try { const res = await fetch( - `${process.env.NEXT_PUBLIC_BASE_URL}/api/revalidation?secret=${process.env.REVALIDATION_SECRET}&path=${encodeURIComponent(path)}`, + `${process.env.NEXT_PUBLIC_BASE_URL}/api/revalidation?secret=${process.env.REVALIDATION_SECRET}&path=${path}`, { method: "GET", },