diff --git a/app/api/settings/route.ts b/app/api/settings/route.ts index 8c3bce7..824538d 100644 --- a/app/api/settings/route.ts +++ b/app/api/settings/route.ts @@ -6,6 +6,8 @@ */ import { type NextRequest } from 'next/server'; + +export const dynamic = 'force-dynamic'; import { getServiceClient } from '@/lib/supabase'; import { verifyUser } from '@/lib/api-utils'; import { jsonSuccess, jsonError, jsonUnauthorized, handleError, HTTP_STATUS } from '@/lib/api'; diff --git a/app/api/stats/route.ts b/app/api/stats/route.ts index bb7c97c..07e45a6 100644 --- a/app/api/stats/route.ts +++ b/app/api/stats/route.ts @@ -5,6 +5,8 @@ */ import { type NextRequest } from 'next/server'; + +export const dynamic = 'force-dynamic'; import { getServiceClient } from '@/lib/supabase'; import { verifyUser } from '@/lib/api-utils'; import { jsonSuccess, jsonError, jsonUnauthorized, handleError, HTTP_STATUS } from '@/lib/api';