Fix allowlist / blocklist description location. Fixes #2214 (#2215)

* Fix allowlist / blocklist description location. Fixes #2214

* Fix allowlist check
This commit is contained in:
Dessalines 2022-04-13 14:27:56 -04:00 committed by GitHub
parent 3951a16447
commit 0a36b16e29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@
# Whether to enable activitypub federation.
enabled: false
# Allows and blocks are described here:
# https://join-lemmy.org/docs/en/federation/administration.html///instance-allowlist-and-blocklist
# https://join-lemmy.org/docs/en/administration/federation_getting_started.html
#
# list of instances with which federation is allowed
allowed_instances: [

View file

@ -115,7 +115,7 @@ pub struct FederationConfig {
#[default(false)]
pub enabled: bool,
/// Allows and blocks are described here:
/// https://join-lemmy.org/docs/en/federation/administration.html///instance-allowlist-and-blocklist
/// https://join-lemmy.org/docs/en/administration/federation_getting_started.html
///
/// list of instances with which federation is allowed
#[default(None)]