From 310fff9d5594514b5ef3f54e2da9a12e8d4416a0 Mon Sep 17 00:00:00 2001 From: Deploy Bot Date: Thu, 19 Feb 2026 15:04:03 +0000 Subject: [PATCH] Add force-dynamic to all pages for runtime DB queries --- frontend/app/article/[slug]/page.tsx | 1 + frontend/app/page.tsx | 1 + frontend/app/tag/[slug]/page.tsx | 1 + 3 files changed, 3 insertions(+) diff --git a/frontend/app/article/[slug]/page.tsx b/frontend/app/article/[slug]/page.tsx index 1aaf9ee..cac87cc 100644 --- a/frontend/app/article/[slug]/page.tsx +++ b/frontend/app/article/[slug]/page.tsx @@ -1,4 +1,5 @@ import { sql } from '@/lib/db' +export const dynamic = "force-dynamic" import { notFound } from 'next/navigation' import Link from 'next/link' import Image from 'next/image' diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index fc8c6c8..b83be9f 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -1,4 +1,5 @@ import { sql } from '@/lib/db' +export const dynamic = "force-dynamic" import Image from 'next/image' import Link from 'next/link' diff --git a/frontend/app/tag/[slug]/page.tsx b/frontend/app/tag/[slug]/page.tsx index 8f667ce..cfca753 100644 --- a/frontend/app/tag/[slug]/page.tsx +++ b/frontend/app/tag/[slug]/page.tsx @@ -1,4 +1,5 @@ import { sql } from '@/lib/db' +export const dynamic = "force-dynamic" import { notFound } from 'next/navigation' import Link from 'next/link' import Image from 'next/image'