fix: force-dynamic on admin items route to prevent stale cached responses
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7d7d46af32
commit
68a987a921
@ -2,6 +2,8 @@ import { NextResponse } from 'next/server'
|
|||||||
import { getCatalog } from '@/lib/catalog-cache'
|
import { getCatalog } from '@/lib/catalog-cache'
|
||||||
import { readOverrides } from '@/lib/overrides'
|
import { readOverrides } from '@/lib/overrides'
|
||||||
|
|
||||||
|
export const dynamic = 'force-dynamic'
|
||||||
|
|
||||||
export async function GET() {
|
export async function GET() {
|
||||||
try {
|
try {
|
||||||
const [{ items, fetchedAt }, overrides] = await Promise.all([
|
const [{ items, fetchedAt }, overrides] = await Promise.all([
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user