mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-18 00:54:49 +01:00
nodeinfo: add instance name and description (#28079)
This commit is contained in:
parent
f1657e6d62
commit
10b879bd5e
@ -38,7 +38,10 @@ class NodeInfo::Serializer < ActiveModel::Serializer
|
|||||||
end
|
end
|
||||||
|
|
||||||
def metadata
|
def metadata
|
||||||
{}
|
{
|
||||||
|
nodeName: Setting.site_title,
|
||||||
|
nodeDescription: Setting.site_short_description,
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
Loading…
Reference in New Issue
Block a user