From 2eb90df6597a9f4df5dbcd5a3cd0a317daf8ec90 Mon Sep 17 00:00:00 2001 From: mStar aka a person <12024604-mstarongitlab@users.noreply.gitlab.com> Date: Mon, 29 Jan 2024 17:09:11 +0000 Subject: [PATCH] add webfinger to registration --- endpoints/api/ap/ap.go | 1 + 1 file changed, 1 insertion(+) diff --git a/endpoints/api/ap/ap.go b/endpoints/api/ap/ap.go index d42615b..d98a97c 100644 --- a/endpoints/api/ap/ap.go +++ b/endpoints/api/ap/ap.go @@ -19,6 +19,7 @@ import ( func Register(server *server.Server) { server.Router.GET("/api/ap/user/:id", GetUser(server)) + server.Router.GET("/.well-known/webfinger", WebfingerEndpoint(server)) } func GetUser(server *server.Server) func(http.ResponseWriter, *http.Request, httprouter.Params) {