mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-10 19:05:09 +00:00
Set revalidate to 0 in categories route to ensure fresh data fetch on each build
This commit is contained in:
parent
84675838de
commit
a4a373e890
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user