mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-09 17:55:11 +00:00
fix compilation
This commit is contained in:
parent
37ae047e16
commit
4aee900ae8
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
defmodule Akkoma.Web.Swagger do
|
||||
defmodule Pleroma.Web.Swagger do
|
||||
alias Pleroma.Config
|
||||
|
||||
def ui_enabled? do
|
Loading…
Reference in a new issue