mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 06:41:18 +00:00
Fix regex init typo.
This commit is contained in:
parent
a47cdd554b
commit
e012380821
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue