Fix regex init typo.

remove_settings_and_secret_singletons
Dessalines 2021-09-25 10:10:26 -04:00
parent a47cdd554b
commit e012380821
1 changed files with 1 additions and 1 deletions

View File

@ -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"),
);