akkoma/lib/pleroma/web/swagger.ex
2022-07-14 11:17:14 +01:00

8 lines
145 B
Elixir

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