Remove comment.

This commit is contained in:
Dessalines 2021-10-28 13:06:33 -04:00
parent f970169d9e
commit cba4e2bce2
2 changed files with 0 additions and 2 deletions

View file

@ -104,7 +104,6 @@
tls_enabled: true tls_enabled: true
# Address where pictrs is available (for image hosting) # Address where pictrs is available (for image hosting)
pictrs_url: "http:#localhost:8080" 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)" slur_filter: "(\bThis\b)|(\bis\b)|(\bsample\b)"
# Maximum length of local community and user names # Maximum length of local community and user names
actor_name_max_length: 20 actor_name_max_length: 20

View file

@ -40,7 +40,6 @@ pub struct Settings {
#[default(None)] #[default(None)]
#[doku(example = "http://localhost:8080")] #[doku(example = "http://localhost:8080")]
pub pictrs_url: Option<String>, pub pictrs_url: Option<String>,
/// Regex for slurs which are prohibited. Example: `(\bThis\b)|(\bis\b)|(\bsample\b)`
#[default(None)] #[default(None)]
#[doku(example = "(\\bThis\\b)|(\\bis\\b)|(\\bsample\\b)")] #[doku(example = "(\\bThis\\b)|(\\bis\\b)|(\\bsample\\b)")]
pub slur_filter: Option<String>, pub slur_filter: Option<String>,