Call TrailingFormatPlug for /api/pleroma/emoji

Apparently Pleroma-FE still calls it with trailing '.json'
This commit is contained in:
rinpatch 2019-09-05 22:21:20 +03:00
parent fe7cf44c40
commit 3523bdcf26

View file

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