We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54c1250 commit 4ab1968Copy full SHA for 4ab1968
web/src/app/api/agents/route.ts
@@ -5,6 +5,10 @@ import { NextResponse } from 'next/server'
5
6
import { logger } from '@/util/logger'
7
8
+// Force dynamic rendering to ensure fresh metrics data
9
+export const dynamic = 'force-dynamic'
10
+export const revalidate = 0
11
+
12
export async function GET() {
13
try {
14
const oneWeekAgo = new Date(Date.now() - 7 * 24 * 60 * 60 * 1000)
0 commit comments