From 1795dd1a80e2a94ddd8897d6a5215711ed5322ae Mon Sep 17 00:00:00 2001 From: Bram Suurd <78373894+BramSuurdje@users.noreply.github.com> Date: Tue, 5 Nov 2024 00:15:19 +0100 Subject: [PATCH] Remove revalidate from categories route to maintain static fetching behavior without forced updates on each build --- frontend/src/app/api/categories/route.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/app/api/categories/route.ts b/frontend/src/app/api/categories/route.ts index 3a2d407a0..6b6368fbf 100644 --- a/frontend/src/app/api/categories/route.ts +++ b/frontend/src/app/api/categories/route.ts @@ -3,7 +3,6 @@ import { Category } from "@/lib/types"; import { NextResponse } from "next/server"; export const dynamic = "force-static"; -export const revalidate = 0; // This will force a new fetch on each build export async function GET() { try {