API: kill /api/rich_media/parse endpoint
[akkoma] / lib / pleroma / web / router.ex
index 31f739738d32793e0e3f773269ee3e4c527d5801..68e7a44b623ea704b965ebeb394750a6cab2ce59 100644 (file)
@@ -239,12 +239,6 @@ defmodule Pleroma.Web.Router do
     put("/settings", MastodonAPIController, :put_settings)
   end
 
-  scope "/api", Pleroma.Web.RichMedia do
-    pipe_through(:authenticated_api)
-
-    get("/rich_media/parse", RichMediaController, :parse)
-  end
-
   scope "/api/v1", Pleroma.Web.MastodonAPI do
     pipe_through(:api)
     get("/instance", MastodonAPIController, :masto_instance)