feat(bootstrap): wire ActivityPubService as FederationActionPort in AppState

This commit is contained in:
2026-05-14 20:03:49 +02:00
parent 1d50b54227
commit a08bb3d698
3 changed files with 24 additions and 20 deletions

View File

@@ -67,7 +67,7 @@ async fn main() {
"/users/{username}/following",
axum::routing::get(following_handler),
)
.layer(infra.fed_config.middleware());
.layer(infra.ap_service.federation_config().middleware());
let base = presentation::routes::router()
.merge(ap_router)