Update reader when ranged content upgraded

This commit is contained in:
DrMint 2023-05-03 16:57:44 +02:00
parent 6a33cfa15a
commit 5949c8fb8b
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ const Revalidate = async (
const contentSlug = body.entry.content?.slug; const contentSlug = body.entry.content?.slug;
if (libraryItemSlug) { if (libraryItemSlug) {
paths.push(`/library/${libraryItemSlug}`); paths.push(`/library/${libraryItemSlug}`);
paths.push(`/library/${libraryItemSlug}/reader`);
} }
if (contentSlug) { if (contentSlug) {
paths.push(`/contents/${contentSlug}`); paths.push(`/contents/${contentSlug}`);