diff options
author | Raphael Kabo <raphael.kabo@theguardian.com> | 2024-07-16 13:24:20 +0100 |
---|---|---|
committer | Raphael Kabo <raphael.kabo@theguardian.com> | 2024-07-16 13:24:20 +0100 |
commit | ee6ee9aef071162b86c72aea21da483b0bb3e050 (patch) | |
tree | dd2db415da188707a718c4c52708b75a94e2f376 /tsconfig.json | |
parent | edf113e18cd05edd51e9da96b2a8004382cda83a (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 'tsconfig.json')
0 files changed, 0 insertions, 0 deletions