mirror of
https://github.com/jtomchak/akkoma.git
synced 2025-02-13 16:13:25 +01:00
7 lines
138 B
Elixir
7 lines
138 B
Elixir
defmodule Pleroma.Web.Swagger do
|
|
alias Pleroma.Config
|
|
|
|
def ui_enabled? do
|
|
Config.get([:frontends, :swagger, "enabled"])
|
|
end
|
|
end
|