mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 13:07:29 +02:00
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:
@@ -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,
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user