changes to version, ssg, and storage

This commit is contained in:
LiamPietralla committed 2026-01-16 15:26:49 +11:00
1 parent 402a7f69aa
commit 2fef051c2f
32 files changed
+3311 -2743

No files matched your search

+8
View File
@@ -1,4 +1,5 @@
import { lucideOptions } from "@/lib/lucid-options";
import { revalidatePath } from "next/cache";
import { GlobalConfig } from "payload";
export const Home: GlobalConfig = {
@@ -54,4 +55,11 @@ export const Home: GlobalConfig = {
],
},
],
hooks: {
afterChange: [
async () => {
revalidatePath("/projects");
}
],
}
}