+6
-1
src/pds.js
+6
-1
src/pds.js
···
11
* - CAR file building for repo sync
12
* - XRPC endpoints for repo operations and sync
13
*
14
-
* @see https://atproto.com/specs
15
*/
16
17
// === CONSTANTS ===
···
2360
]
2361
if (repoWriteEndpoints.includes(url.pathname)) {
2362
return handleAuthenticatedRepoWrite(request, env)
2363
}
2364
2365
// Root path - ASCII art
···
11
* - CAR file building for repo sync
12
* - XRPC endpoints for repo operations and sync
13
*
14
+
* @see https://atproto.com
15
*/
16
17
// === CONSTANTS ===
···
2360
]
2361
if (repoWriteEndpoints.includes(url.pathname)) {
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' })
2368
}
2369
2370
// Root path - ASCII art