summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-09-05 22:21:20 +0300
committerrinpatch <rinpatch@sdf.org>2019-09-05 22:21:20 +0300
commit3523bdcf262dddc7bdf14d759538097f8838cddb (patch)
tree1535db820c09a3564a48f8443c931d2f628d5905
parentfe7cf44c405ae2872d8d978f566bbb8e6fba0480 (diff)
downloadpleroma-3523bdcf262dddc7bdf14d759538097f8838cddb.tar.gz
pleroma-3523bdcf262dddc7bdf14d759538097f8838cddb.zip
Call TrailingFormatPlug for /api/pleroma/emoji
Apparently Pleroma-FE still calls it with trailing '.json'
-rw-r--r--lib/pleroma/plugs/trailing_format_plug.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/plugs/trailing_format_plug.ex b/lib/pleroma/plugs/trailing_format_plug.ex
index 2473e07fe..ce366b218 100644
--- a/lib/pleroma/plugs/trailing_format_plug.ex
+++ b/lib/pleroma/plugs/trailing_format_plug.ex
@@ -23,7 +23,8 @@ defmodule Pleroma.Plugs.TrailingFormatPlug do
"/nodeinfo",
"/api/help",
"/api/externalprofile",
- "/notice"
+ "/notice",
+ "/api/pleroma/emoji"
]
def init(opts) do