revalidate home page
This commit is contained in:
parent
a1fa7dbb8a
commit
69ca511cc2
2 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
import HomePage from "../page"
|
||||
|
||||
export default HomePage
|
||||
|
||||
export const revalidate = 300
|
||||
|
|
|
@ -12,6 +12,8 @@ import { cache, Suspense } from "react"
|
|||
import ErrorBoundary from "@components/error/fallback"
|
||||
import { Stack } from "@components/stack"
|
||||
|
||||
export const revalidate = 300
|
||||
|
||||
const getWelcomeData = cache(async () => {
|
||||
const welcomeContent = await getWelcomeContent()
|
||||
return welcomeContent
|
||||
|
|
Loading…
Reference in a new issue