fix: revalidates

Signed-off-by: Filipe Medeiros <hello@filipesm.eu>
This commit is contained in:
Filipe Medeiros 2022-12-24 01:13:55 +00:00
parent 5ff4edc634
commit cda6d602ac
Signed by: filipe
GPG key ID: 9533BD5467CC1E78
3 changed files with 5 additions and 1 deletions

View file

@ -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()

View file

@ -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,

View file

@ -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}>