Our Personal Data Server from scratch! tranquil.farm
pds rust database fun oauth atproto
237
fork

Configure Feed

Select the types of activity you want to include in your feed.

add xrpc fallback

authored by

nelind and committed by tangled.org 5461f03d e61021fe

+5 -1
+5 -1
src/lib.rs
··· 498 498 .route( 499 499 "/app.bsky.unspecced.getAgeAssuranceState", 500 500 get(api::age_assurance::get_age_assurance_state), 501 - ); 501 + ) 502 + .fallback(async || ( 503 + StatusCode::NOT_IMPLEMENTED, 504 + Json(json!({"error": "MethodNotImplemented", "message": "XRPC method not implemented"})), 505 + )); 502 506 let xrpc_service = ServiceBuilder::new() 503 507 .layer(XrpcProxyLayer::new(state.clone())) 504 508 .service(xrpc_router.with_state(state.clone()));