mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 12:58:06 +01:00
nodeinfo: add instance name and description (#28079)
This commit is contained in:
parent
f1657e6d62
commit
10b879bd5e
1 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,10 @@ class NodeInfo::Serializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def metadata
|
||||
{}
|
||||
{
|
||||
nodeName: Setting.site_title,
|
||||
nodeDescription: Setting.site_short_description,
|
||||
}
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue