mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-28 09:31:17 +01:00
fix: one more fix
This commit is contained in:
@@ -49,7 +49,7 @@ Controller.fetch = async (req, res, next) => {
|
|||||||
helpers.redirect(res, url.href, false);
|
helpers.redirect(res, url.href, false);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
activitypub.helpers.log(`[activitypub/fetch] Invalid URL received: ${url}`);
|
activitypub.helpers.log(`[activitypub/fetch] Invalid URL received: ${url}`);
|
||||||
return next();
|
helpers.redirect(res, url.href, false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user