1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

nodeinfo: add instance name and description (#28079)

This commit is contained in:
6543 2023-11-28 01:51:22 +01:00 committed by GitHub
parent f1657e6d62
commit 10b879bd5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,10 @@ class NodeInfo::Serializer < ActiveModel::Serializer
end
def metadata
{}
{
nodeName: Setting.site_title,
nodeDescription: Setting.site_short_description,
}
end
private