changes to version, ssg, and storage
This commit is contained in:
@@ -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