Merge branch 'feature/jason-view-render' into 'develop'
Use Jason for rendering responses See merge request pleroma/pleroma!1655
This commit is contained in:
commit
50269e9cac
2 changed files with 3 additions and 0 deletions
|
@ -373,6 +373,8 @@
|
|||
|
||||
config :phoenix, :format_encoders, json: Jason
|
||||
|
||||
config :phoenix, :json_library, Jason
|
||||
|
||||
config :pleroma, :gopher,
|
||||
enabled: false,
|
||||
ip: {0, 0, 0, 0},
|
||||
|
|
|
@ -9,6 +9,7 @@ defmodule Pleroma.Healthcheck do
|
|||
alias Pleroma.Healthcheck
|
||||
alias Pleroma.Repo
|
||||
|
||||
@derive Jason.Encoder
|
||||
defstruct pool_size: 0,
|
||||
active: 0,
|
||||
idle: 0,
|
Loading…
Reference in a new issue