akkoma/lib/pleroma/web/swagger.ex
FloatingGhost d598c7a834
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
remove anonymous function from plug
2022-07-14 11:17:14 +01:00

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