projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe7cf44
)
Call TrailingFormatPlug for /api/pleroma/emoji
author
rinpatch
<rinpatch@sdf.org>
Thu, 5 Sep 2019 19:21:20 +0000
(22:21 +0300)
committer
rinpatch
<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
patch
|
blob
|
history
diff --git
a/lib/pleroma/plugs/trailing_format_plug.ex
b/lib/pleroma/plugs/trailing_format_plug.ex
index 2473e07fe4a1a08f1f9648c30bf99ded8c2237f5..ce366b2183dccfc0a9a73cdc7607a84f70094af5 100644
(file)
--- 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