From 0a36b16e290cba68ceac0e16e30588afa2ca0e75 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 13 Apr 2022 14:27:56 -0400 Subject: [PATCH] Fix allowlist / blocklist description location. Fixes #2214 (#2215) * Fix allowlist / blocklist description location. Fixes #2214 * Fix allowlist check --- config/defaults.hjson | 2 +- crates/utils/src/settings/structs.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/defaults.hjson b/config/defaults.hjson index 18a4b2190b..f14bacb51c 100644 --- a/config/defaults.hjson +++ b/config/defaults.hjson @@ -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: [ diff --git a/crates/utils/src/settings/structs.rs b/crates/utils/src/settings/structs.rs index fe4c1509df..9a7a953a43 100644 --- a/crates/utils/src/settings/structs.rs +++ b/crates/utils/src/settings/structs.rs @@ -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)]