mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-08 17:34:19 +00:00
8 lines
145 B
Elixir
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
|