Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
🏓 vercel (#680)
Thibault Le Ouayd5b4d8567398
diff --git a/apps/web/src/app/api/ping/vercel/route.ts b/apps/web/src/app/api/ping/vercel/route.tsnew file mode 100644index 000000000..4e18d3537--- /dev/null+++ b/apps/web/src/app/api/ping/vercel/route.ts@@ -0,0 +1,14 @@+import { NextResponse } from "next/server";++export const dynamic = "force-dynamic";++export const maxDuration = 42; // to trick and not using the same function as the other ping route++export async function GET() {+ return NextResponse.json({ ping: "pong" }, { status: 200 });+}++export async function POST(req: Request) {+ const body = await req.json();+ return NextResponse.json({ ping: body }, { status: 200 });+}