Swadhin Biswas Feature/ai code reviewer (#73) · 8/2/2026
105a287
16 lines · 367 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * OCI Container Registry (Docker v2 API) Ping Endpoint
 * GET /api/v2/
 */

import type { APIRoute } from "astro";
import { handleDockerV2Ping } from "@/lib/packages-server";

export const GET: APIRoute = async () => {
    const res = handleDockerV2Ping();
    return new Response(res.body, {
        status: res.status,
        headers: res.headers,
    });
};