Skip to content

Commit c3ae01f

Browse files
dynamic render
1 parent df36823 commit c3ae01f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/api/selected-papers/route.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { NextResponse } from "next/server";
22
import { connectToDatabase } from "@/lib/mongoose";
33
import Paper from "@/db/papers";
44

5+
export const dynamic = "force-dynamic";
6+
57
export async function GET() {
68
try {
79
await connectToDatabase();

0 commit comments

Comments
 (0)