Add force-dynamic to all pages for runtime DB queries
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { sql } from '@/lib/db'
|
||||
export const dynamic = "force-dynamic"
|
||||
import Image from 'next/image'
|
||||
import Link from 'next/link'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user