akkoma/lib/pleroma/web/swagger.ex

8 lines
138 B
Elixir
Raw Normal View History

2022-07-14 09:48:27 +00:00
defmodule Pleroma.Web.Swagger do
alias Pleroma.Config
def ui_enabled? do
Config.get([:frontends, :swagger, "enabled"])
end
end