diff --git a/src/controllers/activitypub/index.js b/src/controllers/activitypub/index.js index 08160cc285..bda06afc94 100644 --- a/src/controllers/activitypub/index.js +++ b/src/controllers/activitypub/index.js @@ -49,7 +49,7 @@ Controller.fetch = async (req, res, next) => { helpers.redirect(res, url.href, false); } catch (e) { activitypub.helpers.log(`[activitypub/fetch] Invalid URL received: ${url}`); - return next(); + helpers.redirect(res, url.href, false); } };