From 5949c8fb8b2b9b94e646f83dcb06569400525d0a Mon Sep 17 00:00:00 2001 From: DrMint <29893320+DrMint@users.noreply.github.com> Date: Wed, 3 May 2023 16:57:44 +0200 Subject: [PATCH] Update reader when ranged content upgraded --- src/pages/api/revalidate.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/api/revalidate.ts b/src/pages/api/revalidate.ts index 1648942..71df0bb 100644 --- a/src/pages/api/revalidate.ts +++ b/src/pages/api/revalidate.ts @@ -269,6 +269,7 @@ const Revalidate = async ( const contentSlug = body.entry.content?.slug; if (libraryItemSlug) { paths.push(`/library/${libraryItemSlug}`); + paths.push(`/library/${libraryItemSlug}/reader`); } if (contentSlug) { paths.push(`/contents/${contentSlug}`);