mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-06-02 11:06:57 +00:00
Merge pull request 'fix federation hosts incorrectly being set to blocked hosts' (#23) from 21-fix-federation-whitelist into dev
Reviewed-on: https://codeberg.org/yeentown/barkey/pulls/23 Reviewed-by: fangmarks <fangmarks@noreply.codeberg.org>
This commit is contained in:
commit
597a1bd47a
1 changed files with 1 additions and 1 deletions
|
@ -709,7 +709,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);
|
||||
|
|
Loading…
Add table
Reference in a new issue