Fix regex init typo.

This commit is contained in:
Dessalines 2021-09-25 10:10:26 -04:00
parent a47cdd554b
commit e012380821

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