nodeinfo: add instance name and description (#28079)

main
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
1 changed files with 4 additions and 1 deletions

View File

@ -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