MastoAPI: Profile directory
[akkoma] / lib / pleroma / web / router.ex
index 9ce35ad6bd597d68ead6fd7af1bc72b4b139bfbc..e3659b87aa0beb765cf397612d50a23d29670bab 100644 (file)
@@ -600,6 +600,8 @@ defmodule Pleroma.Web.Router do
     get("/timelines/tag/:tag", TimelineController, :hashtag)
 
     get("/polls/:id", PollController, :show)
+
+    get("/directory", DirectoryController, :index)
   end
 
   scope "/api/v2", Pleroma.Web.MastodonAPI do