fix: move AP pageviews middleware down the chain, after s2s assertion and http sig verification, so as to truly count AP requests

This commit is contained in:
Julian Lam
2026-03-23 11:25:27 -04:00
parent 334478fe4c
commit 38901c0f02

View File

@@ -20,9 +20,9 @@ module.exports = function (app, middleware, controllers) {
const middlewares = [
middleware.activitypub.enabled,
middleware.activitypub.pageview,
middleware.activitypub.assertS2S,
middleware.activitypub.verify,
middleware.activitypub.pageview,
middleware.activitypub.configureResponse,
];