+6
-1
src/pds.js
+6
-1
src/pds.js
···
11
11
* - CAR file building for repo sync
12
12
* - XRPC endpoints for repo operations and sync
13
13
*
14
-
* @see https://atproto.com/specs
14
+
* @see https://atproto.com
15
15
*/
16
16
17
17
// === CONSTANTS ===
···
2360
2360
]
2361
2361
if (repoWriteEndpoints.includes(url.pathname)) {
2362
2362
return handleAuthenticatedRepoWrite(request, env)
2363
+
}
2364
+
2365
+
// Health check endpoint
2366
+
if (url.pathname === '/xrpc/_health') {
2367
+
return Response.json({ version: '0.1.0' })
2363
2368
}
2364
2369
2365
2370
// Root path - ASCII art