fix compilation
ci/woodpecker/push/release Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/release Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details

This commit is contained in:
FloatingGhost 2022-07-14 10:48:27 +01:00
parent 37ae047e16
commit 4aee900ae8
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ defmodule Pleroma.Web.Endpoint do
at: "/akkoma/swaggerui",
frontend_type: :swagger,
gzip: true,
if: &Akkoma.Web.Swagger.ui_enabled?/0,
if: &Pleroma.Web.Swagger.ui_enabled?/0,
cache_control_for_etags: @static_cache_control,
headers: %{
"cache-control" => @static_cache_control

View File

@ -1,4 +1,4 @@
defmodule Akkoma.Web.Swagger do
defmodule Pleroma.Web.Swagger do
alias Pleroma.Config
def ui_enabled? do