akkoma/lib/pleroma/web/swagger.ex
2022-07-14 10:48:27 +01:00

7 lines
138 B
Elixir

defmodule Pleroma.Web.Swagger do
alias Pleroma.Config
def ui_enabled? do
Config.get([:frontends, :swagger, "enabled"])
end
end