From 38901c0f02487637893accaeddb36ee1c57bcad2 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 23 Mar 2026 11:25:27 -0400 Subject: [PATCH] fix: move AP pageviews middleware down the chain, after s2s assertion and http sig verification, so as to truly count AP requests --- src/routes/activitypub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/activitypub.js b/src/routes/activitypub.js index 6c13fea365..4e87aa1aa6 100644 --- a/src/routes/activitypub.js +++ b/src/routes/activitypub.js @@ -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, ];