From cba4e2bce2d24c635673fa4847e96b80a780849f Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 28 Oct 2021 13:06:33 -0400 Subject: [PATCH] Remove comment. --- config/defaults.hjson | 1 - crates/utils/src/settings/structs.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/config/defaults.hjson b/config/defaults.hjson index 19602a31d..ff6df36da 100644 --- a/config/defaults.hjson +++ b/config/defaults.hjson @@ -104,7 +104,6 @@ tls_enabled: true # Address where pictrs is available (for image hosting) pictrs_url: "http:#localhost:8080" - # Regex for slurs which are prohibited. Example: `(\bThis\b)|(\bis\b)|(\bsample\b)` slur_filter: "(\bThis\b)|(\bis\b)|(\bsample\b)" # Maximum length of local community and user names actor_name_max_length: 20 diff --git a/crates/utils/src/settings/structs.rs b/crates/utils/src/settings/structs.rs index a8395a8a3..300030816 100644 --- a/crates/utils/src/settings/structs.rs +++ b/crates/utils/src/settings/structs.rs @@ -40,7 +40,6 @@ pub struct Settings { #[default(None)] #[doku(example = "http://localhost:8080")] pub pictrs_url: Option, - /// Regex for slurs which are prohibited. Example: `(\bThis\b)|(\bis\b)|(\bsample\b)` #[default(None)] #[doku(example = "(\\bThis\\b)|(\\bis\\b)|(\\bsample\\b)")] pub slur_filter: Option,