Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
tai-cha committed Aug 17, 2024
1 parent 18370a2 commit 7c89929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/backend/src/core/activitypub/ApRequestService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export class ApRequestService {

//#region リクエスト先がhtmlかつactivity+jsonへのalternate linkタグがあるとき
const contentType = res.headers.get('content-type');

if (contentType?.split(';')[0]?.trimEnd()?.toLowerCase() === 'text/html' && _followAlternate === true) {
const html = await res.text();
const window = new Window();
Expand Down

0 comments on commit 7c89929

Please sign in to comment.