fix: keep dynamic blog routes static
This commit is contained in:
@@ -6,7 +6,6 @@ import { ReadingProgress } from '@/components/ui/ReadingProgress'
|
|||||||
|
|
||||||
export const dynamicParams = false
|
export const dynamicParams = false
|
||||||
export const dynamic = 'force-static'
|
export const dynamic = 'force-static'
|
||||||
export const revalidate = 0
|
|
||||||
|
|
||||||
export async function generateStaticParams() {
|
export async function generateStaticParams() {
|
||||||
const posts = await getPosts()
|
const posts = await getPosts()
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ type TagPageProps = {
|
|||||||
|
|
||||||
export const dynamicParams = false
|
export const dynamicParams = false
|
||||||
export const dynamic = 'force-static'
|
export const dynamic = 'force-static'
|
||||||
export const revalidate = 0
|
|
||||||
|
|
||||||
export async function generateStaticParams() {
|
export async function generateStaticParams() {
|
||||||
const tags = await getAllTags()
|
const tags = await getAllTags()
|
||||||
|
|||||||
Reference in New Issue
Block a user