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
1 changed files with 2 additions and 1 deletions

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