From 10b879bd5e87b88b09a4316686be939509ede79a Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 28 Nov 2023 01:51:22 +0100 Subject: [PATCH] nodeinfo: add instance name and description (#28079) --- app/serializers/node_info/serializer.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/serializers/node_info/serializer.rb b/app/serializers/node_info/serializer.rb index f70cc38f06..3920b3ee42 100644 --- a/app/serializers/node_info/serializer.rb +++ b/app/serializers/node_info/serializer.rb @@ -38,7 +38,10 @@ class NodeInfo::Serializer < ActiveModel::Serializer end def metadata - {} + { + nodeName: Setting.site_title, + nodeDescription: Setting.site_short_description, + } end private