···11+import { NextResponse } from "next/server";
22+33+export const dynamic = "force-dynamic";
44+55+export const maxDuration = 31; // to trick and not using the same function as the other ping route
66+77+export async function GET() {
88+ return NextResponse.json({ ping: "pong" }, { status: 200 });
99+}
1010+1111+export async function POST(req: Request) {
1212+ const body = await req.json();
1313+ return NextResponse.json({ ping: body }, { status: 200 });
1414+}