mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
nodeinfo: add instance name and description (#28079)
This commit is contained in:
@@ -38,7 +38,10 @@ class NodeInfo::Serializer < ActiveModel::Serializer
|
||||
end
|
||||
|
||||
def metadata
|
||||
{}
|
||||
{
|
||||
nodeName: Setting.site_title,
|
||||
nodeDescription: Setting.site_short_description,
|
||||
}
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user