fix: revalidates
Signed-off-by: Filipe Medeiros <hello@filipesm.eu>
This commit is contained in:
parent
5ff4edc634
commit
cda6d602ac
|
@ -15,7 +15,7 @@ import getBlockRecursively from '@/lib/notion/utils/getBlockRecursively'
|
|||
import getProxiedAssetUrl from '@/lib/notion/utils/getProxiedAssetUrl'
|
||||
import richTextAsPlainText from '@/lib/notion/utils/richTextToPlainText'
|
||||
|
||||
export const revalidate = 60
|
||||
export const revalidate = 600
|
||||
|
||||
export async function generateStaticParams() {
|
||||
const rssPromise = generateRssFeed()
|
||||
|
|
|
@ -9,6 +9,8 @@ import formatDate from '@/lib/formatDate'
|
|||
import { getFirstBlogPosts } from '@/lib/notion/content/blogPosts'
|
||||
import richTextAsPlainText from '@/lib/notion/utils/richTextToPlainText'
|
||||
|
||||
export const revalidate = 600
|
||||
|
||||
function BlogPost({
|
||||
slug,
|
||||
title,
|
||||
|
|
|
@ -7,6 +7,8 @@ import { getProjects } from '@/lib/notion/content/projects'
|
|||
import getProxiedAssetUrl from '@/lib/notion/utils/getProxiedAssetUrl'
|
||||
import richTextAsPlainText from '@/lib/notion/utils/richTextToPlainText'
|
||||
|
||||
export const revalidate = 600
|
||||
|
||||
function LinkIcon(props: IconProps) {
|
||||
return (
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true" {...props}>
|
||||
|
|
Loading…
Reference in a new issue