diff --git a/src/app/[locale]/feed/hottest/route.ts b/src/app/[locale]/feed/hottest/route.ts index e40264ee23..27f44879bc 100644 --- a/src/app/[locale]/feed/hottest/route.ts +++ b/src/app/[locale]/feed/hottest/route.ts @@ -30,3 +30,5 @@ export async function GET(request: Request) { const res = new NextServerResponse() return res.status(200).rss(data, format) } + +export const dynamic = "force-dynamic" diff --git a/src/app/[locale]/feed/latest/route.ts b/src/app/[locale]/feed/latest/route.ts index 6e7b293a03..2325d5e717 100644 --- a/src/app/[locale]/feed/latest/route.ts +++ b/src/app/[locale]/feed/latest/route.ts @@ -28,3 +28,5 @@ export async function GET(request: Request) { const res = new NextServerResponse() return res.status(200).rss(data, format) } + +export const dynamic = "force-dynamic" diff --git a/src/app/[locale]/site/[site]/feed/comments/route.ts b/src/app/[locale]/site/[site]/feed/comments/route.ts index cec588226e..26c2dda576 100644 --- a/src/app/[locale]/site/[site]/feed/comments/route.ts +++ b/src/app/[locale]/site/[site]/feed/comments/route.ts @@ -66,3 +66,5 @@ export async function GET( const res = new NextServerResponse() return res.status(200).rss(data, format) } + +export const dynamic = "force-dynamic" diff --git a/src/app/[locale]/site/[site]/feed/route.ts b/src/app/[locale]/site/[site]/feed/route.ts index 8e952bcbbd..48b5865aee 100644 --- a/src/app/[locale]/site/[site]/feed/route.ts +++ b/src/app/[locale]/site/[site]/feed/route.ts @@ -92,3 +92,5 @@ export async function GET( const res = new NextServerResponse() return res.status(200).rss(data, format) } + +export const dynamic = "force-dynamic"