mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-21 15:03:12 +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: {
|
metadata: {
|
||||||
nodeName: meta.config.title || 'NodeBB',
|
nodeName: meta.config.title || 'NodeBB',
|
||||||
nodeDescription: meta.config.description || '',
|
nodeDescription: meta.config.description || '',
|
||||||
|
federation: {
|
||||||
|
enabled: !!meta.config.activitypubEnabled,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user