feat: send proper content-type on AP S2S responses

This commit is contained in:
Julian Lam
2024-02-05 14:11:32 -05:00
parent d213ce790c
commit d18e65c473

View File

@@ -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();
};