fix: prevent stale release data by removing Next.js fetch cache

Replace next: { revalidate: 600 } with cache: 'no-store' on GitHub
API fetches so new releases show up within 5 minutes (in-memory cache
only, no Next.js/Vercel cache layer on top).
This commit is contained in:
James Pine
2026-03-15 10:07:50 -07:00
parent a15dd30b1e
commit 9835b9f6d4
2 changed files with 3 additions and 3 deletions
-1
View File
@@ -2,7 +2,6 @@ import { NextResponse } from 'next/server';
import { getLatestRelease } from '@/lib/releases';
export const dynamic = 'force-dynamic';
export const revalidate = 600; // Revalidate every 10 minutes
export async function GET() {
try {