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) {