Node.js based forum software built for the modern web
fix: #12760, add proper security context for application actor
Julian Lam045e16d3ce0c
diff --git a/src/controllers/activitypub/actors.js b/src/controllers/activitypub/actors.jsindex db477957c9..49e906bb0a 100644--- a/src/controllers/activitypub/actors.js+++ b/src/controllers/activitypub/actors.js@@ -19,7 +19,10 @@ Actors.application = async function (req, res) {const name = meta.config.title || 'NodeBB';res.status(200).json({- '@context': 'https://www.w3.org/ns/activitystreams',+ '@context': [+ 'https://www.w3.org/ns/activitystreams',+ 'https://w3id.org/security/v1',+ ],id: `${nconf.get('url')}/actor`,url: `${nconf.get('url')}/actor`,inbox: `${nconf.get('url')}/inbox`,