mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-16 12:32:50 +01:00
fix: nodeinfo route to publish federation.enabled in metadata section
This commit is contained in:
@@ -72,6 +72,9 @@ module.exports = function (app, middleware, controllers) {
|
||||
metadata: {
|
||||
nodeName: meta.config.title || 'NodeBB',
|
||||
nodeDescription: meta.config.description || '',
|
||||
federation: {
|
||||
enabled: !!meta.config.activitypubEnabled,
|
||||
},
|
||||
},
|
||||
});
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user