akkoma/lib/pleroma/web/swagger.ex

8 lines
145 B
Elixir
Raw Permalink Normal View History

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