akkoma/lib/pleroma/web/swagger.ex

8 lines
145 B
Elixir
Raw Normal View History

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