forked from TheWrightServer/ProxmoxVE
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";
|
import { NextResponse } from "next/server";
|
||||||
|
|
||||||
export const dynamic = "force-static";
|
export const dynamic = "force-static";
|
||||||
|
export const revalidate = 0; // This will force a new fetch on each build
|
||||||
|
|
||||||
export async function GET() {
|
export async function GET() {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user