changes to version, ssg, and storage
This commit is contained in:
1 parent
402a7f69aa
commit
2fef051c2f
32 files changed
+3311
-2743
No files matched your search
@@ -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");
|
||||
}
|
||||
],
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user