fix: Add dynamic export to overdracht/patients route
Next.js requires explicit dynamic marking for routes using request.url 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,9 @@ import { NextRequest, NextResponse } from 'next/server';
|
||||
import { createClient } from '@/lib/auth/server';
|
||||
import type { PatientOverzicht, PatientOverzichtResponse } from '@/lib/types/overdracht';
|
||||
|
||||
// Force dynamic rendering (uses request.url)
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
export async function GET(request: NextRequest) {
|
||||
try {
|
||||
const { searchParams } = new URL(request.url);
|
||||
|
||||
Reference in New Issue
Block a user