Skip to content

Commit

Permalink
federate with allowed hosts instead of blocking them
Browse files Browse the repository at this point in the history
  • Loading branch information
boringcactus committed Oct 3, 2024
1 parent 781e64a commit b9c0b26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
}

if (Array.isArray(ps.federationHosts)) {
set.blockedHosts = ps.federationHosts.filter(Boolean).map(x => x.toLowerCase());
set.federationHosts = ps.federationHosts.filter(Boolean).map(x => x.toLowerCase());
}

const before = await this.metaService.fetch(true);
Expand Down

0 comments on commit b9c0b26

Please sign in to comment.