fix compilation
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Thu, 14 Jul 2022 09:48:27 +0000 (10:48 +0100)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Thu, 14 Jul 2022 09:48:27 +0000 (10:48 +0100)
lib/pleroma/web/endpoint.ex
lib/pleroma/web/swagger.ex [moved from lib/akkoma/web/swagger.ex with 76% similarity]

index 4a235fdd7f66583ed9e212c2a15ee7094da9cce0..62a6459b117e8d993be542425c09a0ba17a65f1c 100644 (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
similarity index 76%
rename from lib/akkoma/web/swagger.ex
rename to lib/pleroma/web/swagger.ex
index c09cba3a19808b9539ff0ef632547bb0b60a5fd0..e75ce2180acfd6e78f8ada23c6339d94fb658e4a 100644 (file)
@@ -1,4 +1,4 @@
-defmodule Akkoma.Web.Swagger do
+defmodule Pleroma.Web.Swagger do
   alias Pleroma.Config
 
   def ui_enabled? do