From e012380821ef1104742000cc46702ceed7aea2b9 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 25 Sep 2021 10:10:26 -0400 Subject: [PATCH] Fix regex init typo. --- crates/utils/src/settings/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/utils/src/settings/mod.rs b/crates/utils/src/settings/mod.rs index 715c9128e..b75353aaf 100644 --- a/crates/utils/src/settings/mod.rs +++ b/crates/utils/src/settings/mod.rs @@ -23,7 +23,7 @@ impl Settings { } // Initialize the regexes - config.webfinger_username_regex = Some( + config.webfinger_community_regex = Some( Regex::new(&format!("^group:([a-z0-9_]{{3,}})@{}$", config.hostname)) .expect("compile webfinger regex"), );