mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-22 14:45:16 +00:00
Merge pull request 'Change module name' (#69) from module-name into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/69
This commit is contained in:
commit
6a1471b1c3
|
@ -72,7 +72,7 @@ defmodule Pleroma.Web.Endpoint do
|
||||||
at: "/akkoma/swaggerui",
|
at: "/akkoma/swaggerui",
|
||||||
frontend_type: :swagger,
|
frontend_type: :swagger,
|
||||||
gzip: true,
|
gzip: true,
|
||||||
if: &Akkoma.Web.Swagger.ui_enabled?/0,
|
if: &Pleroma.Web.Swagger.ui_enabled?/0,
|
||||||
cache_control_for_etags: @static_cache_control,
|
cache_control_for_etags: @static_cache_control,
|
||||||
headers: %{
|
headers: %{
|
||||||
"cache-control" => @static_cache_control
|
"cache-control" => @static_cache_control
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
defmodule Akkoma.Web.Swagger do
|
defmodule Pleroma.Web.Swagger do
|
||||||
alias Pleroma.Config
|
alias Pleroma.Config
|
||||||
|
|
||||||
def ui_enabled? do
|
def ui_enabled? do
|
Loading…
Reference in a new issue