mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2026-11-14 18:00:43 +00:00
Set revalidate to 0 in categories route to ensure fresh data fetch on each build
This commit is contained in:
1 parent
84675838de
commit
a4a373e890
1 file changed
+1
@@ -3,6 +3,7 @@ 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 {
|
||||
|
||||
Reference in new issue
Block a user