Call TrailingFormatPlug for /api/pleroma/emoji
authorrinpatch <rinpatch@sdf.org>
Thu, 5 Sep 2019 19:21:20 +0000 (22:21 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 5 Sep 2019 19:21:20 +0000 (22:21 +0300)
Apparently Pleroma-FE still calls it with trailing '.json'

lib/pleroma/plugs/trailing_format_plug.ex

index 2473e07fe4a1a08f1f9648c30bf99ded8c2237f5..ce366b2183dccfc0a9a73cdc7607a84f70094af5 100644 (file)
@@ -23,7 +23,8 @@ defmodule Pleroma.Plugs.TrailingFormatPlug do
     "/nodeinfo",
     "/api/help",
     "/api/externalprofile",
-    "/notice"
+    "/notice",
+    "/api/pleroma/emoji"
   ]
 
   def init(opts) do