Node.js based forum software built for the modern web
feat: send proper content-type on AP S2S responses
Julian Lamd18e65c47396
diff --git a/src/middleware/activitypub.js b/src/middleware/activitypub.jsindex 12761763a1..79c3e19fe3 100644--- a/src/middleware/activitypub.js+++ b/src/middleware/activitypub.js@@ -46,3 +46,8 @@ middleware.validate = async function (req, res, next) {next();};++middleware.configureResponse = async function (req, res, next) {+ res.header('Content-Type', 'application/activity+json');+ next();+};