mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-22 19:01:32 +00:00
Trimming allowed and blocked instances
This commit is contained in:
parent
30431199cf
commit
9fe3efcb32
1 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ impl Settings {
|
|||
.federation
|
||||
.allowed_instances
|
||||
.split(',')
|
||||
.map(|d| d.to_string())
|
||||
.map(|d| d.trim().to_string())
|
||||
.collect();
|
||||
|
||||
// The defaults.hjson config always returns a [""]
|
||||
|
@ -148,7 +148,7 @@ impl Settings {
|
|||
.federation
|
||||
.blocked_instances
|
||||
.split(',')
|
||||
.map(|d| d.to_string())
|
||||
.map(|d| d.trim().to_string())
|
||||
.collect();
|
||||
|
||||
// The defaults.hjson config always returns a [""]
|
||||
|
|
Loading…
Reference in a new issue