diff --git a/packages/backend/src/core/activitypub/ApRequestService.ts b/packages/backend/src/core/activitypub/ApRequestService.ts index ec06b4d9c1..533c8250e0 100644 --- a/packages/backend/src/core/activitypub/ApRequestService.ts +++ b/packages/backend/src/core/activitypub/ApRequestService.ts @@ -208,8 +208,7 @@ export class ApRequestService { const contentType = res.headers.get('content-type'); if ( - res.status >= 200 - && res.status <= 299 + res.ok && (contentType ?? '').split(';')[0].trimEnd().toLowerCase() === 'text/html' && _followAlternate === true ) {