diff --git a/src/pds.js b/src/pds.js index f7c9f28..48fe944 100644 --- a/src/pds.js +++ b/src/pds.js @@ -11,7 +11,7 @@ * - CAR file building for repo sync * - XRPC endpoints for repo operations and sync * - * @see https://atproto.com/specs + * @see https://atproto.com */ // === CONSTANTS === @@ -2362,6 +2362,11 @@ async function handleRequest(request, env) { return handleAuthenticatedRepoWrite(request, env) } + // Health check endpoint + if (url.pathname === '/xrpc/_health') { + return Response.json({ version: '0.1.0' }) + } + // Root path - ASCII art if (url.pathname === '/') { const ascii = `