Skip to content

Commit f3725fe

Browse files
committed
Fix invalid purge key
1 parent 9bd2a09 commit f3725fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collections/Projects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export const Projects: CollectionConfig = {
301301
if (updatedLocale === 'all')
302302
routing.locales.forEach(async (locale) => {
303303
revalidatePath(`/${locale}/projects`)
304-
await purgeURL(`${purgeURL}/${locale}/projects`)
304+
await purgeURL(`${locale}/projects`)
305305
})
306306
else {
307307
revalidatePath(`/${updatedLocale}/projects`)

0 commit comments

Comments
 (0)