Openstatus www.openstatus.dev
at 2ca8eef2cba0abee65eeeec7c032f54698b5548a 13 lines 308 B view raw
1import { NextResponse } from "next/server"; 2 3import { wait } from "@/lib/utils"; 4 5export async function POST() { 6 await wait(10_000); 7 return NextResponse.json({ message: "Hello, World!" }); 8} 9 10export async function GET() { 11 await wait(10_000); 12 return NextResponse.json({ message: "Hello, World!" }); 13}