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:
chris 2026-05-01 15:25:50 -04:00
parent 7d7d46af32
commit 68a987a921

View File

@ -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([