// 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); }