summaryrefslogtreecommitdiff
path: root/cypress.config.ts
diff options
context:
space:
mode:
authorRaphael Kabo <raphael.kabo@theguardian.com>2024-07-16 13:24:20 +0100
committerRaphael Kabo <raphael.kabo@theguardian.com>2024-07-16 13:24:20 +0100
commitee6ee9aef071162b86c72aea21da483b0bb3e050 (patch)
treedd2db415da188707a718c4c52708b75a94e2f376 /cypress.config.ts
parentedf113e18cd05edd51e9da96b2a8004382cda83a (diff)
fix: router bug in activitypub router
We had a middleware applied in the activitypub router which would return 404 for all routes if activitypub wasn't enabled. Unfortunately due to the way Express works, that middleware also applied to every route below that router's routes in the base router chain. Instead, we now apply the middleware specifically to the individual routes in the activitypub file.
Diffstat (limited to 'cypress.config.ts')
0 files changed, 0 insertions, 0 deletions