mirror of
https://github.com/jtomchak/akkoma.git
synced 2025-03-30 15:32:12 +02:00
7 lines
145 B
Elixir
7 lines
145 B
Elixir
defmodule Pleroma.Web.Swagger do
|
|
alias Pleroma.Config
|
|
|
|
def ui_enabled? do
|
|
Config.get([:frontends, :swagger, "enabled"], false)
|
|
end
|
|
end
|