mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove extra lines
This commit is contained in:
parent
6142d8e68a
commit
27ef34974b
1 changed files with 2 additions and 9 deletions
|
|
@ -156,17 +156,10 @@ fn handle(
|
|||
cancellable.clone(),
|
||||
// Search for user certificate match request
|
||||
// * @TODO this feature does not support multi-protocol yet
|
||||
match this.page
|
||||
this.page
|
||||
.profile
|
||||
.identity
|
||||
.get(&uri.to_string())
|
||||
{
|
||||
Some(identity) => match identity.to_tls_certificate() {
|
||||
Ok(certificate) => Some(certificate),
|
||||
Err(_) => panic!(), // unexpected
|
||||
},
|
||||
None => None,
|
||||
},
|
||||
.get(&uri.to_string()).map(|identity|identity.to_tls_certificate().unwrap()),
|
||||
{
|
||||
let page = this.page.clone();
|
||||
let redirects = this.redirects.clone();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue