From 07d0d400d8f1ee0bd25e173cebfba2d17fc50dcc Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 29 May 2024 20:01:57 +0200 Subject: [PATCH] fix: webfinger too many special cases just search username and domain there are indexes --- src/routes/activitypub/well_known.rs | 77 +++++++++++----------------- 1 file changed, 29 insertions(+), 48 deletions(-) diff --git a/src/routes/activitypub/well_known.rs b/src/routes/activitypub/well_known.rs index 5b72509..4c493b7 100644 --- a/src/routes/activitypub/well_known.rs +++ b/src/routes/activitypub/well_known.rs @@ -102,56 +102,37 @@ pub async fn webfinger(State(ctx): State, Query(query): Query