I've been saying "PDSes seem easy enough, they're what, some CRUD to a db? I can do that in my sleep". well i'm sleeping rn so let's go

add xrpc fallback

authored by nel.pet and committed by tangled.org 1d4be17a 9853d456

Changed files
+5 -1
src
+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()));