Add force-dynamic to all pages for runtime DB queries

This commit is contained in:
Deploy Bot
2026-02-19 15:04:03 +00:00
parent 923d322273
commit 310fff9d55
3 changed files with 3 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
import { sql } from '@/lib/db' import { sql } from '@/lib/db'
export const dynamic = "force-dynamic"
import { notFound } from 'next/navigation' import { notFound } from 'next/navigation'
import Link from 'next/link' import Link from 'next/link'
import Image from 'next/image' import Image from 'next/image'

View File

@@ -1,4 +1,5 @@
import { sql } from '@/lib/db' import { sql } from '@/lib/db'
export const dynamic = "force-dynamic"
import Image from 'next/image' import Image from 'next/image'
import Link from 'next/link' import Link from 'next/link'

View File

@@ -1,4 +1,5 @@
import { sql } from '@/lib/db' import { sql } from '@/lib/db'
export const dynamic = "force-dynamic"
import { notFound } from 'next/navigation' import { notFound } from 'next/navigation'
import Link from 'next/link' import Link from 'next/link'
import Image from 'next/image' import Image from 'next/image'