Skip to content

Commit 1795dd1

Browse files
committed
Remove revalidate from categories route to maintain static fetching behavior without forced updates on each build
1 parent 63aa8e2 commit 1795dd1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

frontend/src/app/api/categories/route.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Category } from "@/lib/types";
33
import { NextResponse } from "next/server";
44

55
export const dynamic = "force-static";
6-
export const revalidate = 0; // This will force a new fetch on each build
76

87
export async function GET() {
98
try {

0 commit comments

Comments
 (0)