fix: content negotiation for followers/following — resolve AP router conflict
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m28s
test / unit (pull_request) Failing after 11m39s
test / integration (pull_request) Failing after 17m5s
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m28s
test / unit (pull_request) Failing after 11m39s
test / integration (pull_request) Failing after 17m5s
This commit is contained in:
@@ -2,7 +2,6 @@ mod config;
|
||||
mod factory;
|
||||
|
||||
use activitypub_base::{
|
||||
followers_handler::{followers_handler, following_handler},
|
||||
inbox::inbox_handler,
|
||||
nodeinfo::{nodeinfo_handler, nodeinfo_well_known_handler},
|
||||
outbox::outbox_handler,
|
||||
@@ -57,14 +56,6 @@ async fn main() {
|
||||
"/users/{username}/outbox",
|
||||
axum::routing::get(outbox_handler),
|
||||
)
|
||||
.route(
|
||||
"/users/{username}/followers",
|
||||
axum::routing::get(followers_handler),
|
||||
)
|
||||
.route(
|
||||
"/users/{username}/following",
|
||||
axum::routing::get(following_handler),
|
||||
)
|
||||
.layer(infra.ap_service.federation_config().middleware());
|
||||
|
||||
let base = presentation::routes::router()
|
||||
|
||||
Reference in New Issue
Block a user