Partially restore `/api/statusnet/config.json`
[akkoma] / lib / pleroma / web / router.ex
index c3ea7b6260386488c923c3284d3daea7ff427803..322b074c2d2d9c935a07d3cc51a787a3e6e19e89 100644 (file)
@@ -482,6 +482,9 @@ defmodule Pleroma.Web.Router do
     pipe_through(:config)
 
     get("/pleroma/frontend_configurations", TwitterAPI.UtilController, :frontend_configurations)
+
+    # Deprecated
+    get("/statusnet/config", TwitterAPI.UtilController, :config)
   end
 
   scope "/api", Pleroma.Web do