Scans pages are also refreshed when the library item is updated

This commit is contained in:
DrMint 2022-04-15 17:58:34 +02:00
parent 1c023e6a01
commit 1ddcd68286
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ export default async function Mail(
paths.push(`/library/${body.entry.slug}`); paths.push(`/library/${body.entry.slug}`);
serverRuntimeConfig.locales?.map((locale: string) => { serverRuntimeConfig.locales?.map((locale: string) => {
paths.push(`/${locale}/library/${body.entry.slug}`); paths.push(`/${locale}/library/${body.entry.slug}`);
paths.push(`/${locale}/library/${body.entry.slug}/scans`);
body.entry.subitem_of.map((parentItem) => { body.entry.subitem_of.map((parentItem) => {
paths.push(`/${locale}/library/${parentItem.slug}`); paths.push(`/${locale}/library/${parentItem.slug}`);
}); });