nodeinfo: add instance name and description (#28079)

This commit is contained in:
6543 authored and GitHub committed 2023-11-28 00:51:22 +00:00
1 parent f1657e6d62
commit 10b879bd5e
1 file changed
+4 -1
+4 -1
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