mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2025-01-25 07:05:09 +00:00
Fix NodeInfo content-type
Fixes: https://akkoma.dev/AkkomaGang/akkoma/issues/852
This commit is contained in:
parent
c0a99df06a
commit
416aebb76a
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
|
|||
conn
|
||||
|> put_resp_header(
|
||||
"content-type",
|
||||
"application/json; profile=http://nodeinfo.diaspora.software/ns/schema/2.0#; charset=utf-8"
|
||||
"application/json; profile=\"http://nodeinfo.diaspora.software/ns/schema/#{version}#\"; charset=utf-8"
|
||||
)
|
||||
|> json(Nodeinfo.get_nodeinfo(version))
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue