File size: 328 Bytes
5c0175e | 1 2 3 4 5 6 7 8 9 10 11 | // GET /api/offcloud/status — Offcloud connection status for the dashboard.
import { NextResponse } from "next/server";
import { testConnection } from "@/lib/offcloud";
export const dynamic = "force-dynamic";
export async function GET() {
const conn = await testConnection();
return NextResponse.json(conn);
}
|